[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#225465: debian-policy: packages must give choice to not start at boot, via debconf

Will Lowe writes:
> I abhor init scripts that do something like:

> #!/bin/sh
> . /etc/default/$package # this contains "RUN_AT_BOOT=YES"
> test "$RUN_AT_BOOT" -eq "YES" || exit 0


. /etc/default/package # this contains "RUN_package_AT_BOOT"
test -z "$RUN_package_AT_BOOT" && echo $0 | grep -q '^S' && exit 0
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI

Reply to: