summaryrefslogtreecommitdiff
path: root/sbin/shutdown
AgeCommit message (Collapse)Author
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
- some mdoc fixes
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-16use errx instead of fprintf+exit; millert@ okMichael Shalayeff
2002-12-08GNU semantics say that if optstring begins with '-' thenTodd C. Miller
each non-option shall be treated as arguments to option '\1'. BSD getopt match '-' in optstring with a '-' on the command line. This is used to support deprecated options like "su -" that would otherwise prevent the use of getopt(). Resolving this simply requires that the leading '-' be moved somewhere else (I moved it to the end of optstring) since position within optstring is not meaningful.
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
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-13o) start new sentence on a new line;Mike Pechkin
o) wrap long lines; o) fix bogus .Xr usage; o) we don't like blank lines; o) always close .Bl tags; o) OpenBSD -> .Ox; o) don't like .Pp before .Ss; millert@ ok;
2001-11-05kill more registers;Mike Pechkin
millert@ ok
2001-10-11Add sparc64 to the list of arches which can poweroff at shutdown, andMiod Vallat
sort it.
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
handler will take care of this. Pointed out by bk@rt.fm; millert@ ok. (Although it was millert@ who asked for it in the first place, bad me for not checking the source. :-)
2001-08-07Document how to cancel a scheduled shutdown with kill(1).Heikki Korpela
Also mention that /etc/nologin should be deleted after this if needed. ok millert@
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
without options. Other wording tweaks. Move comment related to -p to where -p is defined, not where -h is defined.
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
powerdown work correctly on some processors. Idea from mickey@ and smcho@tsp.korea.ac.kr. Tested my me and angelos@. Note: If you want to try these out you'll need to cd /sys/arch/i386/include && sudo install -m 444 -o root -g root cpu.h /usr/include/i386 cd /usr/src/sbin/sysctl && make obj && make && sudo make install to get a sysctl that understands the new variable (machdep.apmhalt).
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-06-18- Give more precise definitions for the -d and -f options.Aaron Campbell
- Clean up FILES section. - s/BACKWARD COMPATIBILITY/COMPATIBILITY/ - Use standard options list introduction.
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-04-12Trailing whitespace begone!Aaron Campbell
2000-03-18Remove hard sentence breaks, and some other cleanup along the way.Aaron Campbell
2000-01-15add 'd' to usage. mention rc.shutdown in the man page.Eric Jackson
1999-10-07there is no fastboot man pageEric Jackson
1999-09-03have shutdown code run /etc/rc with arg of "shutdown"; rc.shutdown becomes ↵Theo de Raadt
completely admin-editable
1999-07-19if we run /etc/rc.shutdown ourselves, do it on /dev/consoleTheo de Raadt
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-04-29Y2K fix: allow 'shutdown yymmddhhmm' to work in the next century.Alex Feldman
1999-04-22Add mac68k to the -p list...Jason Downs
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28kill redundant .Nm macro arguments; other misc fixesAaron Campbell
1998-11-11more `` '' -> .Dq sillyness; remove redundant .Pp macros; other misc fixesAaron Campbell
1998-09-17sbin/ man page fixesAaron Campbell
1998-04-25run rc.shutdown even if -r or -h is not specifiedTodd C. Miller
1997-10-02Slight update.Jason Downs
1997-09-21$OpenBSD$Theo de Raadt
1997-09-04use err()/warn()/__progname where appropriate, consolidate string, some -WallMichael Shalayeff
1997-08-24give shutdown daemon own session; dima@tejblum.dnttm.rssi.ruTheo de Raadt
1997-07-25word choicekstailey
1997-07-25correct -d typokstailey
1997-07-25do -d for reboot and haltMichael Shalayeff