Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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) | ||||
* | Delete bogus referneces to timezone code internal header file `tzfile.h', | wollman | 1995-08-07 | 1 | -1/+0 |
| | | | | which is no longer bogusly installed in /usr/include. | ||||
* | Yanked out (now obsolete) support for 'fastboot'. | dg | 1995-02-15 | 2 | -40/+5 |
| | |||||
* | Submitted by: M.C. Wong | ats | 1994-11-27 | 1 | -1/+1 |
| | | | | | Obtained from: Don't throw away the /etc/nologin file in the -k case. | ||||
* | Convert to our man installation style. Also fixed long-standing bug | wollman | 1994-08-05 | 1 | -1/+1 |
| | | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message. | ||||
* | BSD 4.4 Lite sbin Sources | rgrimes | 1994-05-26 | 4 | -0/+704 |
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin. |