Subject: rc.d scripts and "shutdown" keyword
To: None <current-users@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 02/11/2002 15:55:11
Hi!

I've changed (ver 1.2) the newly added /etc/rc.d/ipfs script
to check if ipfs=YES in rc.conf. Without this fix the script
might complain about unset $ipfs.

The ipfs script is always executed because of the "shutdown"
keyword. And now my question: is there any better way to
handle this (i.e. scripts which are always executed even
though the corresponding variable might be unset)?

Martti

---
Martti Kuparinen <martti.kuparinen@iki.fi>      NetBSD - No media hype
http://www.iki.fi/~kuparine/                    http://www.netbsd.org/