aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown/shutdown.c
Commit message (Expand)AuthorAgeFilesLines
* sbin/shutdown: Support time units as in 'shutdown -r +5sec'Gleb Kurtsou2014-12-161-2/+22
* Restore a piece of BSD history.Dag-Erling Smørgrav2012-08-011-3/+3
* shutdown: Remove unnecessary 2-second delay.Jilles Tjoelker2012-05-231-1/+0
* Replace index() and rindex() calls with strchr() and strrchr().Ed Schouten2012-01-031-1/+1
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-1/+1
* For compatibility with Linux and Solaris add poweroff(8).Pawel Jakub Dawidek2010-12-301-2/+26
* Add missing `void' for functions without arguments.Ed Schouten2009-12-291-4/+4
* Static'ify internal methods and use prototype.Xin LI2009-09-281-20/+20
* Use new style declarations instead of K&R ones.Xin LI2005-01-251-10/+5
* Use modern style defination for main() and move a externXin LI2005-01-251-4/+3
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-091-4/+0
* Centralize _PATH_* definitions.David E. O'Brien2003-05-051-2/+1
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+4
* o remove __PWarner Losh2002-03-211-9/+9
* Constify, de-register-ify, __unused-ify, and set WARNS=2.Dima Dorfman2001-07-151-10/+11
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
* Avoid ambigious if/elseBill Fumerola1999-07-211-2/+3
* Signal init(8) instead of executing halt(8) or reboot(8)Ruslan Ermilov1999-06-211-34/+52
* Minor cleanups to shutdown(8):Joseph Koshy1999-06-211-4/+10
* Fix a coredump with negative (due to overflow) offset values.Ruslan Ermilov1999-06-181-3/+4
* Merged from Lite2 (one bcopy -> memmove, one significant change:Bruce Evans1998-12-111-4/+5
* Fixed missing 'p' and `-' flags and other defects in the usage message.Bruce Evans1998-12-111-4/+5
* Add a '-p' flag to shutdown which corresponds to the '-p' flag to halt,Mike Smith1998-12-101-6/+18
* Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling.Philippe Charnier1998-08-031-9/+10
* Pass an actual empty environment to execle() as per POSIX rather thanAlexander Langer1998-01-101-10/+28
* Added environment parameter to execle calls.Alexander Langer1998-01-081-3/+3
* Correct a comment from my last commit.Alexander Langer1998-01-081-2/+2
* Allow 'shutdown datespec' to work into the next century. Handle datesAlexander Langer1998-01-081-1/+12
* Make the daemon process a true daemon by calling setsid().Joerg Wunsch1997-08-231-1/+2
* Use err(3).Philippe Charnier1997-06-191-21/+13
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
* -n was brokenAdam David1997-01-211-5/+0
* Delete bogus referneces to timezone code internal header file `tzfile.h',Garrett Wollman1995-08-071-1/+0
* Yanked out (now obsolete) support for 'fastboot'.David Greenman1995-02-151-27/+4
* Submitted by: M.C. WongAndreas Schulz1994-11-271-1/+1
* BSD 4.4 Lite sbin SourcesRodney W. Grimes1994-05-261-0/+492