On Wed, Jul 25, 2001 at 11:05:25AM -0700, Dale Southard wrote: > Why not use something like the IRIX ``chkconfig'' system: Provide a > simple program that takes the ``name'' of a service and then checks an > external file/files for ``on'' or off status of each service, and > returns 0 if on, 1 if off. Then have each init.d script do something > like: > > case "$1" in > 'start') > if /etc/chkconfig myservice; then > ... > start myservice > ... > fi
Would not it be better to put this login in rcS script? That way the services can be manually started if needed (eg. for testing). -- marko

