"hcp i xxx" at the appropriate point in /etc/init.d/halt.

I'm using a variation of that to force logoff when the machine is completely down.

> -----Original Message-----
> From: John R. Campbell [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 12:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [LINUX-390] Automated shutdown - s390x
>
>
> On Tue, Apr 01, 2003 at 12:13:21PM -0500, Pete Zaitcev wrote:
> > Neale Ferguson wrote:
> > > --- ./drivers/s390/char/hwc_rw.c        2002/06/13
> 14:29:25     1.1
> > > +++ ./drivers/s390/char/hwc_rw.c        2002/06/13 14:32:01
> > > +       secsLeft = sigQbuf->countDown *
> unitVal[sigQbuf->unitType];
> > > +       printk("Processor has signalled power-down in %d
> seconds\n"
> > > +              "This system is now shutting down\n",secsLeft);
> > > +       ctrl_alt_del();
> > > +       return 0;
> > > +}
> >
> > Neale, why are you using clrl_alt_del? I thought you wanted
> > to halt Linux, not restart it.
>
>         A PC is a very different animal from a VM (or LPAR or bare
>         metal s/390) instance.  I don't really see how a re-boot
>         would be possible w/o stacking something equivalent to
>         cp ipl xxx into the hypervisor (for VM).  I'm too feeble
>         in knowledge to know how you'd go about doing this on a
>         LPAR or the bare metal.
>
> --
>  John R. Campbell             Speaker to Machines
>     [EMAIL PROTECTED]
>   "As a SysAdmin, yes, I CAN read your e-mail, but I DON'T
> get that bored!"-me
>    Disclaimer:  All opinions expressed above are those of
> John Campbell and
>                 do not reflect the opinions of his
> employer(s) or lackeys.
>                 Anyone who says differently is itching for a fight!
>

Reply via email to