From owner-freebsd-questions Mon Feb 18 21:29:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.q-exports.com.au (qex137370-1.gw.connect.com.au [210.10.31.196]) by hub.freebsd.org (Postfix) with ESMTP id 62ED637B400 for ; Mon, 18 Feb 2002 21:29:18 -0800 (PST) Received: from lou (Lou.qex [10.0.1.254]) by mail.q-exports.com.au (Postfix) with SMTP id 41F8E210E for ; Tue, 19 Feb 2002 16:29:27 +1100 (EST) Message-ID: <006601c1b906$65368a20$fe01000a@qex> From: "Paul Bone" To: Subject: Shut down sequence. Date: Tue, 19 Feb 2002 16:29:26 +1100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0063_01C1B962.989F6100" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0063_01C1B962.989F6100 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am using nut to monitor my ups. However I require that when freebsd = shuts down it signals the ups to cut the power. This can be done by = adding a command to the shutdown script. I have found /etc/rc.shutdown, however when this file runs all = filesystems are mounted read write. I can only put the command in where = filesystems are mounted read only and the system is ready to power off. In what script should I place this command? Thanks Paul Bone ------=_NextPart_000_0063_01C1B962.989F6100 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am using nut to monitor my ups.  = However I=20 require that when freebsd shuts down it signals the ups to cut the = power. =20 This can be done by adding a command to the shutdown = script.
 
I have found /etc/rc.shutdown, however = when this=20 file runs all filesystems are mounted read write.  I can only put = the=20 command in where filesystems are mounted read only and the system is = ready to=20 power off.
 
In what script should I place this=20 command?
 
Thanks
 
Paul Bone
------=_NextPart_000_0063_01C1B962.989F6100-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message