summaryrefslogtreecommitdiff
path: root/sbin/reboot/reboot.c
AgeCommit message (Expand)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-02-09Ignore sysctl failure for CPU_LIDSUSPEND when errno is EOPNOTSUPP.Todd C. Miller
2012-07-10disable lidsuspend on shutdownAlexander Hall
2010-07-23Block all signals before sending SIGTERM to all non-system processes.Todd C. Miller
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-05-11it's silly for reboot to poweroff. adapted from diff by diana eichertTed Unangst
2006-06-01delintDavid Hill
2006-04-06if "/etc/rc shutdown" exits 2, attempt powerdown. it does so ifHenning Brauer
2004-07-09variety of cleanups; nofsk@aanet.com.au and ITheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-03ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-05kill more registers;Mike Pechkin
2001-07-19#include <termios.h>Todd C. Miller
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-06-04return from main() don't exitMichael Shalayeff
2000-04-30Add missing fcntl.hTodd C. Miller
1999-09-03have shutdown code run /etc/rc with arg of "shutdown"; rc.shutdown becomes c...Theo de Raadt
1999-08-16we need to include sys/wait.h since we use waitpid hereArtur Grabowski
1999-07-19run /etc/rc.shutdown on /dev/consoleTheo de Raadt
1998-08-07delete the garbage which does not workTheo de Raadt
1998-08-0512 seconds not 30. But I am just about to remove the kill and waitTheo de Raadt
1998-07-12sync with NetBSDAngelos D. Keromytis
1998-04-25ignore SIGPIPE; nathanw@MIT.EDUTheo de Raadt
1997-09-03use err()/warn()/__prognameMichael Shalayeff
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-22Support RB_POWERDOWN.Jason Downs
1997-04-11add support for a script called /etc/rc.shutdownTheo de Raadt
1997-01-17r?index -> strr?chrTodd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-07-22kill (-1, SIGTERM) may find no other processes; netbsd pr#2619, cgdTheo de Raadt
1996-07-11netbsd pr bin/2618 from cgd, fixed differentlyTobias Weingartner
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt