What is wrong with

  shutdown -p now

?

(Or shutdown -h now, if you don't have APM?)

On Thursday 26 September 2002 11:09 am, Kirk Strauser wrote:
| At 2002-09-26T14:02:01Z, Petri Riihikallio 
<[EMAIL PROTECTED]> writes:
| > A couple of days ago I sent a message asking how to shut down a
| > FreeBSD system when I KNOW the power will be off after the next
| > script command.
|
| I haven't actually done this, so take my advice with a grain of salt.
|
| I think that the biggest hurdle will be making sure that your
| filesystems are cleanly unmounted.  I would *think* that:
|
|   umount -af
|   sync; sync; sync
|   umount -fr /
|
| should unmount everything except / , which it would remount as
| read-only.

-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to