I get the desired effect and the nice message without the vmpoff as
well.

On Wed, 2004-09-15 at 16:12, Malcolm Beattie wrote:
> Post, Mark K writes:
> > Depending on what version of z/VM and Linux you're running, updating
> > /etc/inittab to have something like this:
> > # What to do at the "Three Finger Salute".
> > ca::ctrlaltdel:/sbin/shutdown -t5 -r now
>
> Change that "-r" (meaning "reboot") into "-h" (meaning "halt")
> so that the SIGNAL SHUTDOWN magic described elsewhere in this
> thread behaves as expected. For cleanliness, it's also good to
> include "vmpoff=LOGOFF" into the kernel parmline so that when the
> guest finishes shutting down and does a "halt -p" (a "power-off"
> halt), the kernel will do a "CP LOGOFF". This logs the guest off;
> CP then knows that the guest has finished its signal shutdown
> processing cleanly and will log a nice message to say so.
>
> [The vmpoff assumes that your distribution uses a "halt -p" in its
> shutdown scripts, as SLES does. If your distribution ends up doing
> a "halt" without the -p then the relevant parmline addition would
> be "vmhalt=LOGOFF". I usually add both...belt and braces.]
>
> --Malcolm
>
> --
> Malcolm Beattie <[EMAIL PROTECTED]>
> Linux Technical Consultant
> IBM EMEA Enterprise Server Group...
> ...from home, speaking only for myself
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
--
Rich Smrcina
illustro Systems International, LLC
                    --- See The Light---
Visit www.illustro.com to experience:
    z/Web-Host -- Easy Web-enabling for your Mainframe
    z/XML-Host -- Easy XML Enablement for your Mainframe

Tel: +1.214.800.8900  Fax: +1.214.800.8989

Catch the WAVV!  http://www.wavv.org
WAVV 2005 - Colorado Springs - May 20-24, 2005

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to