summaryrefslogtreecommitdiff
path: root/sbin/reboot/reboot.c
Commit message (Expand)AuthorAgeFilesLines
* Fix "fasthalt" to halt instead of rebootEric van Gyzen2018-09-141-1/+1
* Exit with usage when extra arguments are on command lineRodney W. Grimes2018-04-051-0/+2
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
* Add -c to the usage statements.Warner Losh2017-10-311-2/+2
* Add power cycle support to reboot/halt as -c.Warner Losh2017-10-251-2/+13
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Add missing parameters -N and -l to reroot and halt usage()Renato Botelho2016-05-061-2/+2
* Fix use of uninitialised NflagSteven Hartland2015-12-301-1/+1
* Add flag to disable inital reboot(8) userland syncSteven Hartland2015-12-151-2/+8
* Userspace part of reroot support. This makes it possible to changeEdward Tomasz Napierala2015-11-081-1/+19
* Let reboot(8) use getprogname() to compare the program name.Ed Schouten2011-12-111-3/+3
* Port the remaining apps in sbin/ to utmpx; only reboot(8).Ed Schouten2010-01-131-2/+1
* Add forgotten `void' keyword. This function has no arguments.Ed Schouten2009-12-291-1/+1
* Let init(8) and reboot(8) use utmpx to log wtmp entries.Ed Schouten2009-12-051-2/+7
* More rational usage()Dag-Erling Smørgrav2009-11-101-3/+5
* Remove and unused variable.Bjoern A. Zeeb2009-01-311-2/+1
* Block a variety of signals which may afffect reboot(8), before killingBruce M Simpson2006-08-021-2/+15
* Block SIGHUP before killing init(8), to avoid a race condition which mayBruce M Simpson2006-08-021-3/+3
* Truncate nextboot.conf file on creation, so existing garbage will be removed.Pawel Jakub Dawidek2005-03-211-1/+2
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-101-2/+2
* Code style tweaks: Use static and const where suitable.Xin LI2005-01-251-7/+6
* The kernel specified in main() of reboot(8) will be initializedXin LI2005-01-251-5/+4
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-091-4/+0
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+4
* When kill(-1) returns ESRCH, it could be because the current processRobert Watson2003-04-021-1/+1
* Set only the RB_POWEROFF flag (not the RB_HALT flag) whenThomas Quinot2002-10-061-1/+1
* Correct the file that reboot -k creates so that it works with the newGordon Tetlow2002-05-281-0/+1
* Rename the file used to specify the nextboot to make it clear that thisWes Peters2002-04-261-1/+1
* Add a -k option to reboot to specify the kernel to boot next timeWes Peters2002-04-261-5/+20
* Constify and set WARNS=2.Dima Dorfman2001-07-151-1/+2
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+1
* Remove the "undocumented" comment in re lflag.Nik Clayton2001-05-241-1/+1
* Reboot(8) normally waits 5 seconds after sending SIGTERMs to allIan Dowse2001-03-201-10/+32
* Add a "-d" option which causes the system to generate a crash dump.John Polstra1999-11-211-2/+8
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
* Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing).Philippe Charnier1998-07-151-8/+11
* Remove lines inside #ifdef 0/#endif.Philippe Charnier1997-06-301-32/+1
* Use err(3) instead of local copy.Philippe Charnier1997-06-161-7/+13
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
* Add support to halt, to allow it to request that the power be turned offJulian Elischer1996-08-241-2/+6
* Install aliases "fasthalt" and "fastboot" for halt and boot respectively.David Greenman1994-08-211-1/+1
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-261-0/+204