On Tue, 2010-09-14 at 10:28 -0600, Mark Post wrote: > >>> 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.
You could use the "chshut" command to specify more than one CP commands: # chshut poff vmcmd "SMSG MAINT I AM DOWN" vmcmd "LOGOFF" Michael ---------------------------------------------------------------------- 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/
