#
8d646af5 |
| 10-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync program's usage() with manpage's SYNOPSIS.
|
#
36737a0b |
| 25-Jan-2005 |
Xin LI <delphij@FreeBSD.org> |
Code style tweaks: Use static and const where suitable.
|
#
faa0ecdd |
| 25-Jan-2005 |
Xin LI <delphij@FreeBSD.org> |
The kernel specified in main() of reboot(8) will be initialized with -k option and never be used without kflag. This confuses gcc because we set "kflag" at the same time with "kernel", but the logic
The kernel specified in main() of reboot(8) will be initialized with -k option and never be used without kflag. This confuses gcc because we set "kflag" at the same time with "kernel", but the logic is not that apparant for gcc.
Since we can initialize "kernel" to NULL then know if "k" option is set through determining whether it is still NULL, don't try to have gcc to guess why we are connecting "kflag" with "kernel" and use "kernel" directly in place of kflag.
Bump WARNS?= from 2 to 6
show more ...
|
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 |
|
#
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 |
|
#
6ab0d6c2 |
| 03-Apr-2003 |
Robert Watson <rwatson@FreeBSD.org> |
When kill(-1) returns ESRCH, it could be because the current process doesn't have a process group, which can occur if you're working with a custom init that doesn't set up a full tty context. Rather
When kill(-1) returns ESRCH, it could be because the current process doesn't have a process group, which can occur if you're working with a custom init that doesn't set up a full tty context. Rather than refusing to reboot, ignore ESRCH from the kill attempt in reboot(8).
show more ...
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
#
cfde77fb |
| 06-Oct-2002 |
Thomas Quinot <thomas@FreeBSD.org> |
Set only the RB_POWEROFF flag (not the RB_HALT flag) when '-p' is used on the reboot(8) command line.
This is intended for use when you want to attempt a power down action, but you want the system t
Set only the RB_POWEROFF flag (not the RB_HALT flag) when '-p' is used on the reboot(8) command line.
This is intended for use when you want to attempt a power down action, but you want the system to reboot (not halt) if the power down action fails.
This is typically useful when the power-off action performed by the kernel consists in signalling an uninterrupted power supply that it should shut down its inverter if mains power has not returned.
The behaviour of shutdown(8) and init(8) is not modified; only the behaviour of invoking 'reboot -p' manually is modified, and then only in the case when a power-down action fails.
Sounded reasonable to: phk Approved by: roberto (mentor)
show more ...
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
a72b2ac6 |
| 28-May-2002 |
Gordon Tetlow <gordon@FreeBSD.org> |
Correct the file that reboot -k creates so that it works with the new nextboot functionality.
Reviewed by: jake (mentor)
|
#
83739172 |
| 27-Apr-2002 |
Wes Peters <wes@FreeBSD.org> |
Rename the file used to specify the nextboot to make it clear that this is a loader configuration file and can be used for more than just a kernel name.
Submitted by: Gordon Tetlow <gordont@gnf.org>
|
#
1de372dc |
| 26-Apr-2002 |
Wes Peters <wes@FreeBSD.org> |
Add a -k option to reboot to specify the kernel to boot next time around. If the kernel boots successfully, the record of this kernel is erased, it is intended to be a one-shot option for testing ke
Add a -k option to reboot to specify the kernel to boot next time around. If the kernel boots successfully, the record of this kernel is erased, it is intended to be a one-shot option for testing kernels.
This could be improved by having the loader remove the record of the next kernel to boot, it is currently removed in /etc/rc immediately after disks are mounted r/w.
I'd like to MFC this before the 4.6 freeze unless there is violent objection.
Reviewed by: Several on IRC MFC after: 4 days
show more ...
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
8b032500 |
| 15-Jul-2001 |
Dima Dorfman <dd@FreeBSD.org> |
Constify and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com>
|
#
cafefe8c |
| 25-Jun-2001 |
Dima Dorfman <dd@FreeBSD.org> |
Include missing header files which define functions for which gcc has builtins (e.g., exit, strcmp).
|
#
6714dac4 |
| 24-May-2001 |
Nik Clayton <nik@FreeBSD.org> |
Remove the "undocumented" comment in re lflag.
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
85ae580c |
| 20-Mar-2001 |
Ian Dowse <iedowse@FreeBSD.org> |
Reboot(8) normally waits 5 seconds after sending SIGTERMs to all processes and then sends SIGKILLs. If a lot of processes are swapped out, this delay may not be long enough, so processes such as an X
Reboot(8) normally waits 5 seconds after sending SIGTERMs to all processes and then sends SIGKILLs. If a lot of processes are swapped out, this delay may not be long enough, so processes such as an X server may be killed before they have had time to clean up properly.
Make this delay more dynamic by waiting up to 60 seconds for swap page-in activity to end. While I'm here, ANSIfy and remove a `register' specifier.
show more ...
|
Revision tags: 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 |
|
#
85c981cc |
| 21-Nov-1999 |
John Polstra <jdp@FreeBSD.org> |
Add a "-d" option which causes the system to generate a crash dump.
|
Revision tags: release/3.3.0_cvs |
|
#
7f3dea24 |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7 |
|
#
9448def9 |
| 15-Jul-1998 |
Philippe Charnier <charnier@FreeBSD.org> |
Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing).
|
Revision tags: release/2.2.6, release/2.2.5_cvs |
|
#
41e964cb |
| 30-Jun-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Remove lines inside #ifdef 0/#endif.
|
#
098166ed |
| 16-Jun-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Use err(3) instead of local copy.
|
Revision tags: release/2.2.2_cvs |
|
#
8d64695c |
| 29-Mar-1997 |
Warner Losh <imp@FreeBSD.org> |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
Revision tags: release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs |
|
#
47be7466 |
| 24-Aug-1996 |
Julian Elischer <julian@FreeBSD.org> |
Add support to halt, to allow it to request that the power be turned off (the RB_POWEROFF flag)
|
Revision tags: release/2.1.0_cvs, release/2.0.5_cvs, release/2.0 |
|
#
7f4b19d6 |
| 21-Aug-1994 |
David Greenman <dg@FreeBSD.org> |
Install aliases "fasthalt" and "fastboot" for halt and boot respectively. This is for "backwards compatibility". Documented these aliases in the manual page.
|
Revision tags: release/1.1.5.1_cvs |
|
#
8fae3551 |
| 26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite sbin Sources
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
|