Hi Michal and Willamowius: I see the inits script for red-hat, suse, and now for freebsd on cvs. If you want to put init script for gentoo linux, this running fine on my box. ( see the attached file ) Cheers.
#!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # # gnugk This shell script takes care of starting and stopping \ # gnugk (Openh323 Gatekeeper - GNU Gatekeeper daemon) # # description: The GNU Gatekeeper, a full featured H.323 gatekeeper # # GKEXE=/usr/bin/gnugk GKPID=/var/run/gnugk.pid GKCONFIG=/etc/gnugk.ini LOGFILE=/var/log/gk/gk.log depend() { need net } start() { [ -f $LOGFILE ] && mv -f $LOGFILE $LOGFILE.bak ebegin "Starting Gatekeeper" $GKEXE -c $GKCONFIG -ttt -l 60 -o $LOGFILE > /dev/null 2>&1 & eend $? } stop() { ebegin "Stopping Gatekeeper" kill -9 `cat $GKPID` eend $? } reload() { ebegin "Gracefully restarting Gatekeeper" kill -HUP `cat $GKPID` eend $? }