Perfect... thank you. I'll tweak /etc/inittab



2011/2/9 van Sleeuwen, Berry <berry.vansleeu...@atosorigin.com>

> Hello Donald,
>
> The SIGNAL SHUTDOWN acts like a CTRL-ALT-DEL. So in your /etc/inittab
> you should change the CTRL-ALT-DEL behaviour to switch to runlevel 0
> instead of 6.
>
> Regards, Berry.
>
>
> -----Original Message-----
> From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of
> Donald Russell
> Sent: donderdag 10 februari 2011 4:12
> To: LINUX-390@VM.MARIST.EDU
> Subject: signal shutdown user xx within yy
>
> 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/
>

----------------------------------------------------------------------
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