Skip site navigation (1)Skip section navigation (2)
Date:      05 Jan 2002 16:24:53 -0800
From:      Ken McGlothlen <mcglk@artlogix.com>
To:        questions@freebsd.org
Subject:   Adding a message to shutdown.
Message-ID:  <87ell48gx6.fsf@ralf.artlogix.com>

next in thread | raw e-mail | index | archive | help
I know this must seem an incredibly minor point, but I'd like to write the
uptime to /var/log/messages before the system shuts down whenever I do
"shutdown" or "reboot" or the like.

What would be the best way to go about that?  I know I could hack it into
rc.shutdown or something, but is there a gentler way?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ell48gx6.fsf>