Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing `void' for functions without arguments. | ed | 2009-12-29 | 1 | -4/+4 |
| | | | | | While there, rename die_you_gravy_sucking_pig_dog() to something that's less moronic. | ||||
* | Switch the default WARNS level for sbin/ to 6. | ru | 2009-10-19 | 1 | -2/+0 |
| | | | | Submitted by: Ulrich Spörlein | ||||
* | Static'ify internal methods and use prototype. | delphij | 2009-09-28 | 1 | -20/+20 |
| | |||||
* | Note that when shutdown is run without options, it will place | trhodes | 2008-12-23 | 1 | -1/+7 |
| | | | | | | the system into single user mode at the time specified. PR: 129765 | ||||
* | Use new style declarations instead of K&R ones. | delphij | 2005-01-25 | 1 | -10/+5 |
| | |||||
* | Use modern style defination for main() and move a extern | delphij | 2005-01-25 | 2 | -4/+6 |
| | | | | | | declaration to global section. Bump WARNS?= to 6 | ||||
* | Use the standard section name. | ru | 2005-01-18 | 1 | -3/+3 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -4/+8 |
| | |||||
* | Remove advertising clause from University of California Regent's license, | markm | 2004-04-09 | 2 | -8/+0 |
| | | | | | | per letter dated July 22, 1999. Approved by: core, imp | ||||
* | Centralize _PATH_* definitions. | obrien | 2003-05-05 | 2 | -43/+1 |
| | | | | Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me) | ||||
* | Use __FBSDID() to quiet GCC 3.3 warnings. | obrien | 2003-05-03 | 1 | -4/+4 |
| | |||||
* | Fixed the abuses of .Ql visible on stderr in troff mode. | ru | 2002-12-23 | 1 | -1/+1 |
| | | | | PR: docs/37176 | ||||
* | s/filesystem/file system/g as discussed on -developers | trhodes | 2002-08-21 | 1 | -1/+1 |
| | |||||
* | The .Nm utility. | charnier | 2002-07-06 | 1 | -3/+4 |
| | |||||
* | Move _PATH_WALL from dump and shutdown's local pathnames.h to paths.h. | jmallett | 2002-05-17 | 1 | -1/+1 |
| | |||||
* | more file system > filesystem | trhodes | 2002-05-16 | 1 | -1/+1 |
| | |||||
* | o remove __P | imp | 2002-03-21 | 1 | -9/+9 |
| | | | | o remove main prototype | ||||
* | Default to WARNS=2. | obrien | 2001-12-04 | 1 | -1/+0 |
| | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike | ||||
* | Set BINOWN=root explicitly for setuid root binaries. | ru | 2001-09-13 | 1 | -0/+1 |
| | | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case. | ||||
* | Document how to cancel a scheduled shutdown. | dd | 2001-08-09 | 1 | -0/+12 |
| | | | | Obtained from: OpenBSD | ||||
* | mdoc(7) police: | ru | 2001-08-07 | 1 | -1/+1 |
| | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. | ||||
* | Constify, de-register-ify, __unused-ify, and set WARNS=2. | dd | 2001-07-15 | 2 | -10/+12 |
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> | ||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | - Backout botched attempt to introduce MANSECT feature. | ru | 2001-03-26 | 1 | -0/+1 |
| | | | | - MAN[1-9] -> MAN. | ||||
* | Set the default manual section for sbin/ to 8. | ru | 2001-03-20 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: use canonical form of .Dd macro. | ru | 2000-12-11 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -1/+1 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-28 | 2 | -2/+2 |
| | |||||
* | Avoid ambigious if/else | billf | 1999-07-21 | 1 | -2/+3 |
| | |||||
* | Signal init(8) instead of executing halt(8) or reboot(8) | ru | 1999-06-21 | 2 | -70/+100 |
| | | | | | | | | | | when halting or rebooting the system. It benefits from running /etc/rc.shutdown by init(8). ``-o'' flag is provided for backward compatibility. PR: 5451 Discussed with: des | ||||
* | Minor cleanups to shutdown(8): | jkoshy | 1999-06-21 | 2 | -5/+22 |
| | | | | | | | | | - Make the -k "don't actually halt" flag incompatible with the halt/reboot options -h, -p, and -r. - The -n "don't sync" option is ignored if -k is specified. Issue a warning message. - Compute the actual shutdown time written to /var/run/nologin correctly in the case of "now" being specified. | ||||
* | Fix a coredump with negative (due to overflow) offset values. | ru | 1999-06-18 | 1 | -3/+4 |
| | |||||
* | Move nologin from /etc to /var/run. This means one less file that has | asami | 1999-01-11 | 1 | -5/+5 |
| | | | | | | | | | to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version) | ||||
* | Merged from Lite2 (one bcopy -> memmove, one significant change: | bde | 1998-12-11 | 1 | -4/+5 |
| | | | | | don't unlink _PATH_NOLOGIN for the -k case even if shutdown terminates abnormally. NetBSD already has this change). | ||||
* | Fixed missing 'p' and `-' flags and other defects in the usage message. | bde | 1998-12-11 | 1 | -4/+5 |
| | | | | Fixed some style bugs. | ||||
* | Merged from Lite2 (just an English fix or pun removal). | bde | 1998-12-11 | 1 | -4/+4 |
| | | | | | Updated date. I think dates in man pages should be changed at least when a new feature is described. | ||||
* | Fixed disordered options in synopsis. | bde | 1998-12-11 | 1 | -2/+2 |
| | |||||
* | Fixed missing `p' flag in synopsis. | bde | 1998-12-11 | 1 | -2/+2 |
| | | | | Broken in: previous commit | ||||
* | Add a '-p' flag to shutdown which corresponds to the '-p' flag to halt, | msmith | 1998-12-10 | 2 | -7/+21 |
| | | | | requesting a system power-off after shutdown. | ||||
* | Remove useless `BINOWN=root' now that it is the default. | obrien | 1998-09-19 | 1 | -1/+0 |
| | |||||
* | Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling. | charnier | 1998-08-03 | 2 | -17/+19 |
| | |||||
* | Pass an actual empty environment to execle() as per POSIX rather than | alex | 1998-01-10 | 1 | -10/+28 |
| | | | | | | | | | | | rely on undocumented behavior. The following fixes were obtained from OpenBSD: o -Wall fixes to tlist array initialization and assignment used as truth value. o Use a restricted environment. o Improved error message when shutdown fails to exec reboot or halt. | ||||
* | Added environment parameter to execle calls. | alex | 1998-01-08 | 1 | -3/+3 |
| | | | | Obtained from: NetBSD PR2737 (augustss@cs.chalmers.se) via OpenBSD | ||||
* | Correct a comment from my last commit. | alex | 1998-01-08 | 1 | -2/+2 |
| | |||||
* | Allow 'shutdown datespec' to work into the next century. Handle dates | alex | 1998-01-08 | 1 | -1/+12 |
| | | | | | in the 22nd century and beyond even though it's irrelevant with a 32-bit time_t which expires in the year 2038. | ||||
* | Make the daemon process a true daemon by calling setsid(). | joerg | 1997-08-23 | 1 | -1/+2 |
| | | | | | PR: bin/3202 Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru> | ||||
* | Add Xref to nologin(5). | max | 1997-07-04 | 1 | -0/+1 |
| | |||||
* | Use err(3). | charnier | 1997-06-19 | 1 | -21/+13 |
| | |||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-29 | 1 | -1/+1 |
| | | | | posix standard on the topic. | ||||
* | -n was broken | adam | 1997-01-21 | 1 | -5/+0 |
| | | | | 2.2 candidate (probably) |