Date: Mon, 1 Sep 2003 23:36:55 -0500 From: Sean Kelly <smkelly@FreeBSD.org> To: Christopher Nehren <apeiron@comcast.net> Cc: hackers@freebsd.org Subject: Re: Addition to reboot(8): reboot / halt reasons Message-ID: <20030902043655.GA42977@edgemaster.zombie.org> In-Reply-To: <1062469541.642.6.camel@prophecy.velum> References: <1062469541.642.6.camel@prophecy.velum>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 01, 2003 at 10:25:42PM -0400, Christopher Nehren wrote: > While playing around with Win2K3 recently, I noticed that it brings up a > dialog at every reboot / shutdown and asks for a reason for said reboot > / shutdown. So I was bored tonight, and decided to implement that > feature in FreeBSD's reboot(8) with a -r flag. Here's a diff against a > -CURRENT reboot.c, checked out about five minutes ago. Err.. Wouldn't it just be easier to use the `shutdown` command? I suggest you check `man 8 shutdown` out. SYNOPSIS shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...] -- Sean Kelly | PGP KeyID: D2E5E296 smkelly@FreeBSD.org | http://www.sean-kelly.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030902043655.GA42977>