summaryrefslogtreecommitdiff
path: root/sbin/shutdown
AgeCommit message (Expand)Author
2018-08-03Move pledge after getopt when we know whether the operation is reboot,Theo de Raadt
2018-04-07Display local timezone in all deadline estimates.cheloha
2018-03-19Disallow "++minutes".cheloha
2018-03-02Refactor the countdown loop() to simplify it.cheloha
2018-02-24Replace popen/setjmp/pclose with a manual pipe/fork/exec/wait.cheloha
2018-02-04fprintf(stderr -> warnxcheloha
2017-04-03warn format string should be literal.Frederic Cambus
2016-09-01Aggressively use dprintf, rather than crazy unchecked writes. UseTheo de Raadt
2015-11-16initially, pledge "stdio rpath wpath cpath getpw tty id proc exec", yesTheo de Raadt
2015-04-23error in strtonum() conversion; found by Nathanael RensenTheo de Raadt
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-01-21Build the argument list for halt/reboot without excessive use ofChristian Weisgerber
2015-01-21Use plain "-p" to specify "halt and power down", for consistencyChristian Weisgerber
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hIgor Sobrado
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-11-19remove another list which just keeps going out of date;Jason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2007-01-29sort FILES;Jason McIntyre
2006-10-18Replace gcc __attribute with __dead. Recompile yields no binary change.Chad Loder
2005-12-02more sig_atomic_tTheo de Raadt
2005-05-19sort options + sync usage();Jason McIntyre
2005-03-09Sync with reboot(8) man page.Kenji Aoyama
2004-01-24minor knfTheo de Raadt
2003-07-30NULL -> (char *)NULL in execle; ok millert@Anil Madhavapeddy
2003-07-15.Ql Fl -> .Sq Fl where literal makes no sense;Jason McIntyre
2003-06-03- section reorderJason McIntyre
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-16use errx instead of fprintf+exit; millert@ okMichael Shalayeff
2002-12-08GNU semantics say that if optstring begins with '-' thenTodd C. Miller
2002-07-03ansiTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-13o) start new sentence on a new line;Mike Pechkin
2001-11-05kill more registers;Mike Pechkin
2001-10-11Add sparc64 to the list of arches which can poweroff at shutdown, andMiod Vallat
2001-09-18Mention macppc in the list of platforms which can do poweroff at shutdown.Miod Vallat
2001-08-07No need to remove /etc/nologin after killing shutdown; signalHeikki Korpela
2001-08-07Document how to cancel a scheduled shutdown with kill(1).Heikki Korpela
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-06-05Alphabetize SEE ALSO entries; mpech@prosoft.org.lvAaron Campbell
2001-01-28remove i386 md note per Theo's requestMarco S Hyman
2001-01-28remove i386 md note per Theo's requestMarco S Hyman
2001-01-26Mention that shutdown brings the system to single user mode when issuedMarco S Hyman
2001-01-19mark signal races i cannot fix at the momentTheo de Raadt
2001-01-15use _exit() in term handler if real signalTheo de Raadt
2001-01-05Add i386 specific sysctl to modify halt -p processing, required to makeMarco S Hyman