From owner-freebsd-hackers Tue Aug 11 05:54:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA25940 for freebsd-hackers-outgoing; Tue, 11 Aug 1998 05:54:43 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from magc.cd.2573.savbank.ru (h26.216.elnet.msk.ru [194.190.216.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA25771 for ; Tue, 11 Aug 1998 05:54:08 -0700 (PDT) (envelope-from mag@h26.216.elnet.msk.ru) Received: from magc.cd.2573.savbank.ru (magc.cd.2573.savbank.ru [172.16.201.254]) by magc.cd.2573.savbank.ru (8.8.5/8.8.5) with ESMTP id QAA26831 for ; Tue, 11 Aug 1998 16:56:09 +0400 Message-ID: <35D03F68.69837C2A@magc.cd.2573.savbank.ru> Date: Tue, 11 Aug 1998 16:56:08 +0400 From: MAG X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.33 i586) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.ORG Subject: Question about shutdown Content-Type: multipart/alternative; boundary="------------22F7B703E7D4E24EA4134DCD" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --------------22F7B703E7D4E24EA4134DCD Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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...). Who can help me? -- MAG --------------22F7B703E7D4E24EA4134DCD Content-Type: text/html; charset=koi8-r Content-Transfer-Encoding: 7bit     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...).
    Who can help me?
-- 
MAG
  --------------22F7B703E7D4E24EA4134DCD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message