summaryrefslogtreecommitdiffstats
path: root/sbin/shutdown
AgeCommit message (Expand)AuthorFilesLines
2018-08-03Move pledge after getopt when we know whether the operation is reboot,deraadt1-4/+25
2018-04-07Display local timezone in all deadline estimates.cheloha1-26/+34
2018-03-19Disallow "++minutes".cheloha1-8/+7
2018-03-02Refactor the countdown loop() to simplify it.cheloha1-40/+43
2018-02-24Replace popen/setjmp/pclose with a manual pipe/fork/exec/wait.cheloha1-28/+50
2018-02-04fprintf(stderr -> warnxcheloha1-7/+4
2017-04-03warn format string should be literal.fcambus1-2/+2
2016-09-01Aggressively use dprintf, rather than crazy unchecked writes. Usederaadt1-20/+24
2015-11-16initially, pledge "stdio rpath wpath cpath getpw tty id proc exec", yesderaadt1-1/+11
2015-04-23error in strtonum() conversion; found by Nathanael Rensenderaadt1-2/+2
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failurederaadt1-3/+6
2015-03-15tzfile.h is an internal header that should never have been installed.millert1-2/+1
2015-01-21Build the argument list for halt/reboot without excessive use ofnaddy1-15/+24
2015-01-21Use plain "-p" to specify "halt and power down", for consistencynaddy2-10/+18
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-4/+5
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.deraadt1-3/+3
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hsobrado1-2/+2
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2007-11-19remove another list which just keeps going out of date;jmc1-4/+2
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-01-29sort FILES;jmc1-5/+5
2006-10-18Replace gcc __attribute with __dead. Recompile yields no binary change.cloder1-5/+5
2005-12-02more sig_atomic_tderaadt1-3/+4
2005-05-19sort options + sync usage();jmc2-11/+11
2005-03-09Sync with reboot(8) man page.aoyama1-2/+3
2004-01-24minor knfderaadt1-23/+19
2003-07-30NULL -> (char *)NULL in execle; ok millert@avsm1-4/+4
2003-07-15.Ql Fl -> .Sq Fl where literal makes no sense;jmc1-2/+2
2003-06-03- section reorderjmc1-2/+2
2003-06-02Remove the advertising clause in the UCB license which Berkeleymillert3-19/+7
2003-04-16use errx instead of fprintf+exit; millert@ okmickey1-11/+6
2002-12-08GNU semantics say that if optstring begins with '-' thenmillert1-3/+3
2002-07-03ansideraadt1-19/+13
2002-05-26pid_t cleanupderaadt1-4/+4
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-12/+12
2001-12-13o) start new sentence on a new line;mpech1-3/+4
2001-11-05kill more registers;mpech1-6/+6
2001-10-11Add sparc64 to the list of arches which can poweroff at shutdown, andmiod1-2/+2
2001-09-18Mention macppc in the list of platforms which can do poweroff at shutdown.miod1-2/+2
2001-08-07No need to remove /etc/nologin after killing shutdown; signalheko1-5/+2
2001-08-07Document how to cancel a scheduled shutdown with kill(1).heko1-1/+9
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduderaadt1-3/+3
2001-07-07major -Wall cleanup, almost completederaadt1-6/+7
2001-06-05Alphabetize SEE ALSO entries; mpech@prosoft.org.lvaaron1-5/+3
2001-01-28remove i386 md note per Theo's requestmarc1-8/+1
2001-01-26Mention that shutdown brings the system to single user mode when issuedmarc1-12/+24
2001-01-19mark signal races i cannot fix at the momentderaadt1-3/+3
2001-01-15use _exit() in term handler if real signalderaadt1-3/+6
2001-01-05Add i386 specific sysctl to modify halt -p processing, required to makemarc1-2/+11
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manaaron1-2/+2