#!/bin/bash hvconfig_pre() { CONFIGURE_OPTS="\ ${CONFIGURE_OPTS} \ --with-loadavg" } hvbuild_post() { cat > /etc/xinetd.conf << "EOF" # Configuration file for xinetd # defaults { instances = 60 log_type = SYSLOG daemon log_on_success = HOST PID USERID log_on_failure = HOST USERID cps = 25 30 } # All service files are stored in the /etc/xinetd.d directory # includedir /etc/xinetd.d EOF install -v -d -m755 /etc/xinetd.d # Bootscript install -v -m740 ${SCRDIR}/bootscripts/xinetd /etc/rc.d/init.d # script-name start stop bootscript_add_rc3 xinetd 30 60 }