Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2003 03:14:23 -0500 (EST)
From:      Jason Hunt <leth@primus.ca>
To:        "Mark A-J. Raught (from the laptop)" <mraught@acm.org>
Cc:        FreeBSD Mobile <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: Adding commands to shutdown
Message-ID:  <20030112031019.C31384-100000@lethargic.dyndns.org>
In-Reply-To: <3E212A30.2070207@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112031019.C31384-100000>