From owner-freebsd-mobile Sun Jan 12 0:14: 5 2003 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC6537B401 for ; Sun, 12 Jan 2003 00:14:04 -0800 (PST) Received: from notus.primus.ca (mail.tor.primus.ca [216.254.136.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A93343F3F for ; Sun, 12 Jan 2003 00:14:04 -0800 (PST) (envelope-from leth@primus.ca) Received: from dialin-164-75.tor.primus.ca ([216.254.164.75]) by notus.primus.ca with esmtp (Exim 3.36 #3) id 18XdFl-000541-0A; Sun, 12 Jan 2003 03:13:57 -0500 Date: Sun, 12 Jan 2003 03:14:23 -0500 (EST) From: Jason Hunt X-X-Sender: leth@lethargic.dyndns.org To: "Mark A-J. Raught (from the laptop)" Cc: FreeBSD Mobile Subject: Re: Adding commands to shutdown In-Reply-To: <3E212A30.2070207@acm.org> Message-ID: <20030112031019.C31384-100000@lethargic.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 12 Jan 2003, Mark A-J. Raught (from the laptop) wrote: > > When I shutdown I see: > > *syncing disks...* > *done* > *Uptime: 1h6m11s* > > *The operating system has halted.* > *Please press any key to reboot > * > > Is there anyway to add a command to this last screen where "Uptime:..." > appears? I would like to see the result of apm -l to see how much > battery life I have left as well as my uptime. I have googled and looked > around at the rc.* and rc.shutdown files, but I wasn't able to get > anything to work. Even if it is before this section but atleast on the > shutdown screen it would be ok. > Take a look at /etc/rc.shutdown, Line 96: # Insert other shutdown procedures here Have you tried putting the command there? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message