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

Try:

. /etc/default/package # this contains "RUN_package_AT_BOOT"
test -z "$RUN_package_AT_BOOT" && echo $0 | grep -q '^S' && exit 0
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI

Reply via email to