Subject: startup scripts...
To: BSD Current Users <current-users@netbsd.org>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 01/30/2001 17:51:52
[I just KNOW I'm gonna feed the dark side of the ductape with this one.]

Okay, the rc.d stuff is all well and good except that when I drop to single-
user mode from multi-user mode, I don't necessarily want to umount all
my filesystems!  This one's been bugging me for a while, and I'd just like
to check, here.  I can see it happening on a reboot or a halt, that's
cool, but when just going down for whatever reason, I don't want it
to do that!

...suggestions?  About the only thing I can think of is to either migrate
the umount call into shutdown under conditional code, or force shutdown to
call rc.shutdown with different parameters depending on whether it's
halting/rebooting or just going to single-user mode.

				--*greywolf;
--
*BSD: Agnostics in the Platform Religious Wars.