From owner-freebsd-questions Sat Jan 5 16:24:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ralf.artlogix.com (sense-mcglk-240.oz.net [216.39.168.240]) by hub.freebsd.org (Postfix) with ESMTP id 5298C37B400 for ; Sat, 5 Jan 2002 16:24:54 -0800 (PST) Received: by ralf.artlogix.com (Postfix, from userid 1000) id F36551B9D25; Sat, 5 Jan 2002 16:24:53 -0800 (PST) To: questions@freebsd.org Subject: Adding a message to shutdown. From: Ken McGlothlen Date: 05 Jan 2002 16:24:53 -0800 Message-ID: <87ell48gx6.fsf@ralf.artlogix.com> Lines: 6 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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