Re: reboot
Posted in 1997
> One of the things Unix does at reboot is run a script called
> /etc/startup or something like that. You can put the "oninit" command
> in there but doing that unembelished causes all kinds of grief.
Well, it depends on the system. I beleive that the System V flavors use
the /etc/rc directories/files
For shutting down, it's /etc/rc0.d (for runlevel 0)
For single user mode, it's /etc/rc1.d
and for multi-user, look in /etc/rc2.d (and sometimes /etc/rc3.d).
Other run-modes have corresponding directories as well.
--
-----------------------------------------------------------------------
Daniel James - Database Administrator djames@statsci.com
DAPD Div of MathSoft (formerly StatSci) (206) 283-8802 x284