summaryrefslogtreecommitdiff
path: root/sbin/reboot/reboot.c
AgeCommit message (Collapse)Author
2000-04-30Add missing fcntl.hTodd C. Miller
1999-09-03have shutdown code run /etc/rc with arg of "shutdown"; rc.shutdown becomes ↵Theo de Raadt
completely admin-editable
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
patch. Obviously it was never tested on a machine running a regular compliment of services. On such a machine, it causes a full 12 (was 30) second delay *EVERY TIME*. That's COMPLETELY unreasonable.
1998-07-12sync with NetBSDAngelos D. Keromytis
1998-04-25ignore SIGPIPE; nathanw@MIT.EDUTheo de Raadt
1997-09-03use err()/warn()/__prognameMichael Shalayeff
document -d
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