This is the way Sun does it. They use run level five.
On Fri, Nov 16, 2001 at 10:21:06AM +0300, Solar Designer wrote:
> As for a proper fix, I am not sure. The information is simply not
> passed down to the scripts and I don't see a clean way to pass it
> other than by allocating a runlevel to "poweroff".
>
> --
> /sd
--
Au
PGP Key ID: 0x385B44CB finger://anthonyu@private
Fingerprint: 9E9E B116 DB2C D734 C090 E72F 43A0 95C4 385B 44CB
"Maximus vero fugiens a quodam Urso, milite Romano, interemptus est"
- Getica 235
This archive was generated by hypermail 2.1.3 : Sun Jan 15 2006 - 13:43:15 PST