Re: DEBIAN POLICY WEEKLY, #4 (October 23, 1997)
'Christian Schwarz wrote:'
>Topic 13: Starting daemons in the postinst scripts
>Wouldn't it be good if every script in /etc/init.d would start with a shell
>variable that's set to 0 or 1, depending on whether the daemon should be
>started at boot up time or not? For example:
> test $run_foo == 0 && exit 0
>The script (the variable) can be adapted by the postinst script. If the
>sysadmin wants the start the daemon, it should be started in the postinst
Why not use the links in /etc/rc?.d instead? It it easier to preserve
over package upgrades too.
Christopher J. Fearnley | Linux/Internet Consulting
email@example.com | Design Science Revolutionary
http://www.netaxs.com/~cjf | Explorer in Universe
ftp://ftp.netaxs.com/people/cjf | "Dare to be Naive" -- Bucky Fuller
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .