>>> On 9/14/2010 at 07:54 AM, Offer Baruch <[email protected]> wrote: 
> Hi,
> 
> I am currently using vmpoff and vmhalt at my zipl.conf to issue LOGOFF at
> shutdown.
> 
> I would like to issue more than one command on shutdown. something like
> vmpoff="CP SMSG MAINT I AM DOWN#CP LOGOFF"
> 
> The result is an smsg message send to maint looking like this  "I AM DOWN#CP
> LOGOFF". Obviously the second command is not issued because it is considered
> part of the message.
> 
> Any idea on how to do this right?

I would take a look at the Shutdown actions chapter in the "Device Drivers, 
Features, and Commands" manual.  It provides the ability to specify multiple CP 
commands to be executed on halt, kernel panic, power off, and reboot.


Mark Post

----------------------------------------------------------------------
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
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to