Perhaps using watchdog hardware might be simpler then. You could execute
shutdown -h 0, then of course the watchdog wouldn't be updated by the
computer when it is halted, so a few seconds or minutes later, the
watchdog hardware flips the power switch. I'm really not incredibly
familiar with watchdog hardware (where to get them, how much they cost,
whether they can just shut off the power instead of cycling it back on
again, etc.), so take this with a very large grain of salt. Watchdog
support has been a kernel option for awhile now, though.
-Dave Wilburn
* David Wilburn, a.k.a. "Bug"
* JMU Computer Science Student
* Boycott naugahyde! Save the naugas!
On 3 Nov 1998, Dale E. Martin wrote:
> Andy Poling <[EMAIL PROTECTED]> writes:
> > The more recent kernels have an option, under APM when configuring the
> > kernel, to power off the system after a shutdown. If your mboard fully
> > supports APM, this may get the machine turned off for you.
> >
> > I have no idea whether it is undesireable to have APM enabled on a member of
> > a computing cluster...
>
> I think this is relevant since it's posted to linux-smp. APM is
> incompatible with SMP linux kernels. In fact, it's incompatible with _any_
> SMP OS, because the APM BIOS spec itself isn't SMP safe.
>
> Later,
> Dale
> --
> +-------------------- finger for pgp public key ---------------------+
> | Dale E. Martin | Clifton Labs, Inc. | Senior Computer Engineer |
> | [EMAIL PROTECTED] | http://www.clifton-labs.com |
> +----------------------------------------------------------------------+
>