Date: Thu, 19 Feb 1998 19:05:39 +0100 (MET) From: Wilko Bulte <wilko@yedi.iaf.nl> To: stefan@promo.de (Stefan Bethke) Cc: hackers@FreeBSD.ORG Subject: Re: Graceful shutdown by single keypress? Message-ID: <199802191805.TAA01110@yedi.iaf.nl> In-Reply-To: <561614.3096881785@stefan.promo.de> from Stefan Bethke at "Feb 19, 98 12:56:25 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Stefan Bethke wrote... > For an exibition, we need a system that can be shut down gracefully by CeBIT? > As this system will be out there on its own, with no-one near with even the > faintest knowledge of unix (or computers at all), I want it to be as rugged ^---- Really sounds like CeBIT ;-) > as possible. Most filesystems will be mounted r/o, and those that are not > can be reconstructed on the fly. > > However, as I don't like the idea of telling people to simply cut off power > to the system (there won't be neither monitor nor keyboard), I'm looking > into an ATX system with APM support that can switch itself off. > If the suspend key won't allow shutting down the system, I could also plug > the key (or the reset key) into the LPT or COM port to be polled by some > daemon, which then would do a shutdown with power off. > > It would be acceptable for me to hack the kernel to add any necessary APM > power-off command, if needed. I suppose you could look into the ctl-alt-del hooks in the console driver that currently force a reboot. Or patch the NMI hook and add a 0.25DM switch to the IOCHKN line. This would still need a manual poweroff. W/ _ ______________________________________________________________________ | / o / / _ Bulte email: wilko @ yedi.iaf.nl http://www.tcja.nl/~wilko |/|/ / / /( (_) Arnhem, The Netherlands - Do, or do not. There is no 'try' --------------- Support your local daemons: run [Free,Net,Open]BSD Unix -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802191805.TAA01110>