daemon default consistancy
carl at personnelware.com
Tue Apr 5 14:43:53 CDT 2005
Thom May wrote:
> * Carl Karsten (carl at personnelware.com) wrote :
>>Looks like there is a bug in /etc/init.d/tftpd-hpa
>>test "$RUN_DAEMON" = "yes" || echo "tftpd-hpa disabled" && exit 0
>>So either echo and exit, or just exit. Never get to the start/stop options.
> Well, that's what you want - if the daemon is run by inetd, you don't need
> or want the standalone daemon to run. Chaning the echo to be more
> informative might not be a bad plan:
> "standalone tftpd daemon disabled, tftp running fron inetd" or something...
Do you realize there is a bunch of stuff below that will never be executed?
My guess is this script was meant for when it run as a daemon, and yet
as it stands it will never run, regardless of the
config $RUN_DAEMON" = "yes" setting.
More information about the ubuntu-devel