What's in your /etc/inittab file?

On Feb 9, 2011, at 22:13, "Donald Russell" <russell....@gmail.com> wrote:

> RHEL 5
> 
> I use the following chshut commands (in /etc/rc.local)
> chshut halt vmcmd LOGOFF
> chshut poff vmcmd LOGOFF
> 
> They shudown and logoff properly when I use shutdown -h or -P options from
> zLinux,
> 
> From another ID, when I use CP SIGNAL SHUTDOWN <zLinux machine id> WITHIN
> <x>
> zLinux also shuts down and logs off, but it goes to runlevel 6 (reboot)
> instead of a more expected runlevel 0 (halt).
> 
> The net effect is the same, it shuts down clean and logs off, but is there
> something I can change so a SIGNAL SHUTDOWN will cause it to go to runlevel
> 0?
> 
> I prefer that because I have an automated email that goes out when the
> system shuts down, and if the "new" runlevel is 6 the email suggests the
> outage will be short as it is just a reboot.
> 
> Thanks
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to