Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Aug 1998 16:25:57 +0200
From:      Stefan Bethke <stefan@promo.de>
To:        MAG <mag@h26.216.elnet.msk.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Question about shutdown
Message-ID:  <927784.3111841557@d254.promo.de>
In-Reply-To: <35D03F68.69837C2A@magc.cd.2573.savbank.ru>

next in thread | previous in thread | raw e-mail | index | archive | help


On Die, 11. Aug 1998 16:56 Uhr +0400 MAG <mag@h26.216.elnet.msk.ru> wrote:

>    I have written an UPS monitor daemon. But I cannot decide where the
>    "Turn the UPS power off" command  must be (I tryed /etc/rc.shutdown,
> but the filesystems were improperly dismounted, reboot, halt and shutdown 
> commands do not call /etc/rc.shutdown, etc...). 

You need to shut down power from within the kernel.

I did just this a few months back, but were to lazy to put up the sources
somewhere. I'll try to dig it up later today...

Stefan

--
Stefan Bethke
Promo Datentechnik      |  Tel. +49-40-851744-18
+ Systemberatung GmbH   |  Fax. +49-40-851744-44
Eduardstrasse 46-48     |  e-mail: stefan@Promo.DE
D-20257 Hamburg         |  http://www.Promo.DE/

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?927784.3111841557>