Subject: Re: Question about scripts in /usr/pkg/etc/rc.d
To: Tracy Nelson <tnelson158@attbi.com>
From: Luke Mewburn <lukem@wasabisystems.com>
List: netbsd-help
Date: 05/15/2002 12:15:20
On Tue, May 14, 2002 at 09:14:30AM -0700, Tracy Nelson wrote:
  | Since there wasn't an /etc/rc.shutdown.local, I created one and modified
  | rc.shutdown to invoke that.  I don't know what I did wrong, but the script
  | seemed to execute all right (I saw the shutdown messages from apache and
  | postgres), then the system paused and then it seemed to just re-execute my
  | rc.shutdown.local script endlessly.

You don't need to modify /etc/rc.shutdown to support running
/etc/rc.shutdown.local at shutdown time; /etc/rc.d/local does this for
you, and that's executed by rc.shutdown.

Luke.