History log of /freebsd/sbin/shutdown/shutdown.c (Results 76 – 100 of 107)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 27d434af 29-Dec-2009 Ed Schouten <ed@FreeBSD.org>

Add missing `void' for functions without arguments.

While there, rename die_you_gravy_sucking_pig_dog() to something that's
less moronic.


Revision tags: release/8.0.0_cvs, release/8.0.0
# 1ee774f6 02-Oct-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

- MFC


# 9534110f 28-Sep-2009 Xin LI <delphij@FreeBSD.org>

Static'ify internal methods and use prototype.


Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# f74b6bc2 25-Jan-2005 Xin LI <delphij@FreeBSD.org>

Use new style declarations instead of K&R ones.


# f906f843 25-Jan-2005 Xin LI <delphij@FreeBSD.org>

Use modern style defination for main() and move a extern
declaration to global section.

Bump WARNS?= to 6


Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0
# 4c723140 09-Apr-2004 Mark Murray <markm@FreeBSD.org>

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0
# 8d5c19ff 06-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Centralize _PATH_* definitions.

Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)


# c69284ca 03-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID() to quiet GCC 3.3 warnings.


Revision tags: release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# d476a036 21-Mar-2002 Warner Losh <imp@FreeBSD.org>

o remove __P
o remove main prototype


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 04983c4f 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Constify, de-register-ify, __unused-ify, and set WARNS=2.

Submitted by: Mike Barcroft <mike@q9media.com>


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# c1160fe4 21-Jul-1999 Bill Fumerola <billf@FreeBSD.org>

Avoid ambigious if/else


# 35cd460f 21-Jun-1999 Ruslan Ermilov <ru@FreeBSD.org>

Signal init(8) instead of executing halt(8) or reboot(8)
when halting or rebooting the system. It benefits from
running /etc/rc.shutdown by init(8).

``-o'' flag is provided for backward compatibili

Signal init(8) instead of executing halt(8) or reboot(8)
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

show more ...


# 1d4f4c0d 21-Jun-1999 Joseph Koshy <jkoshy@FreeBSD.org>

Minor cleanups to shutdown(8):

- 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.
Issu

Minor cleanups to shutdown(8):

- 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.

show more ...


# 966ea00a 18-Jun-1999 Ruslan Ermilov <ru@FreeBSD.org>

Fix a coredump with negative (due to overflow) offset values.


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# 39b831af 11-Dec-1998 Bruce Evans <bde@FreeBSD.org>

Merged from Lite2 (one bcopy -> memmove, one significant change:
don't unlink _PATH_NOLOGIN for the -k case even if shutdown terminates
abnormally. NetBSD already has this change).


# 689419f3 11-Dec-1998 Bruce Evans <bde@FreeBSD.org>

Fixed missing 'p' and `-' flags and other defects in the usage message.

Fixed some style bugs.


# 7e2d04d7 11-Dec-1998 Mike Smith <msmith@FreeBSD.org>

Add a '-p' flag to shutdown which corresponds to the '-p' flag to halt,
requesting a system power-off after shutdown.


# d3714863 03-Aug-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling.


Revision tags: release/2.2.7, release/2.2.6
# f6faa785 10-Jan-1998 Alexander Langer <alex@FreeBSD.org>

Pass an actual empty environment to execle() as per POSIX rather than
rely on undocumented behavior.

The following fixes were obtained from OpenBSD:

o -Wall fixes to tlist array initialization an

Pass an actual empty environment to execle() as per POSIX rather than
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.

show more ...


# 42f9a896 08-Jan-1998 Alexander Langer <alex@FreeBSD.org>

Added environment parameter to execle calls.

Obtained from: NetBSD PR2737 (augustss@cs.chalmers.se) via OpenBSD


# 74179785 08-Jan-1998 Alexander Langer <alex@FreeBSD.org>

Correct a comment from my last commit.


# 2dc34227 08-Jan-1998 Alexander Langer <alex@FreeBSD.org>

Allow 'shutdown datespec' to work into the next century. Handle dates
in the 22nd century and beyond even though it's irrelevant with a 32-bit
time_t which expires in the year 2038.


Revision tags: release/2.2.5_cvs
# 32c9dffb 23-Aug-1997 Joerg Wunsch <joerg@FreeBSD.org>

Make the daemon process a true daemon by calling setsid().

PR: bin/3202
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>


# 25e43cba 02-Jul-1997 Bruce Evans <bde@FreeBSD.org>

Import Lite2's src/sbin, except for XNSrouted and routed. All relevant
files in src/sbin are off the vendor branch, so this doesn't change the
active versions.


12345