Re: Adding commands to shutdown

Jason Hunt <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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 [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.