summaryrefslogtreecommitdiffstats
path: root/sbin/reboot
Commit message (Collapse)AuthorAgeFilesLines
* When kill(-1) returns ESRCH, it could be because the current processrwatson2003-04-021-1/+1
| | | | | | 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).
* Add the /boot prefix. I forgot this when updating the location.trhodes2003-01-131-2/+2
| | | | Neglected by: trhodes
* Update the kernel location in FILES.trhodes2003-01-131-2/+2
| | | | PR: 47015
* english(4) police.schweikh2002-12-271-1/+1
|
* Uniformly refer to a file system as "file system".ru2002-12-121-2/+2
| | | | Approved by: re
* mdoc(7) police: overhaul.ru2002-12-121-21/+30
|
* mdoc(7) police: Nits.ru2002-11-261-2/+2
| | | | Approved by: re
* Fix one misspelling and two punctuation nits.bmah2002-11-071-3/+3
|
* Hook the new nextboot(8) manpage up to the build.gordon2002-11-041-1/+1
|
* Add a nextboot manual page.gordon2002-11-041-0/+116
| | | | Spotted by: brandt@fokus.gmd.de
* Document behaviour change in reboot(8) introduced in reboot.c rev. 1.17:thomas2002-10-071-7/+8
| | | | | | | | when using '-p' with reboot, and the power down action failds, reboot the system normally. The behaviour of 'halt -p' and of shutdown(8) is unchanged. Approved by: roberto
* Set only the RB_POWEROFF flag (not the RB_HALT flag) whenthomas2002-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | '-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)
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-212-7/+7
|
* The .Nm utility.charnier2002-07-061-1/+1
|
* mdoc(7) police: nits.ru2002-05-292-3/+7
|
* Correct the file that reboot -k creates so that it works with the newgordon2002-05-281-0/+1
| | | | | | nextboot functionality. Reviewed by: jake (mentor)
* Add a nextboot script to make it easier to control the loader nextbootgordon2002-05-242-0/+59
| | | | | | support. Also, hook it up to the build. Approved by: jake (mentor)
* more file system > filesystemtrhodes2002-05-162-7/+7
|
* Rename the file used to specify the nextboot to make it clear that thiswes2002-04-261-1/+1
| | | | | | | is a loader configuration file and can be used for more than just a kernel name. Submitted by: Gordon Tetlow <gordont@gnf.org>
* Add a -k option to reboot to specify the kernel to boot next timewes2002-04-262-5/+34
| | | | | | | | | | | | | | | | 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
* Add forgotten flag in flag lists.pb2002-03-251-2/+2
| | | | | PR: docs/36267 (partial) Submitted by: Thomas Quinot <thomas.cuivre.fr.eu.org>
* Add option -n to i386 boot2 to disallow boot interruption by keypress.pb2002-03-231-1/+5
| | | | | | | PR: i386/36016 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org> Reviewed by: rnordier MFC after: 1 week
* Clarify the cylinder > 1023 issue, now that EDD support is automatic.rnordier2002-03-131-5/+3
| | | | | Also drop a note about undocumented features that was intended to cover the since-documented slice-selection syntax.
* Document the "slice" syntax.ru2002-03-131-4/+15
| | | | Prodded by: ambrisko
* Implement -m and -p loader(8) "boot" command options in boot2.ru2002-03-131-2/+4
| | | | | (This is more useful for 4.x where boot blocks can still load kernels, modulo the PR kern/17422.)
* mdoc(7) police: add -p to the synopsis line as well.ru2001-12-141-1/+1
|
* Add new boot flag to i386 boot: -p.guido2001-12-101-0/+2
| | | | | | | | | | | | This flag adds a pausing utility. When ran with -p, during the kernel probing phase, the kernel will pause after each line of output. This pausing can be ended with the '.' key, and is automatically suspended when entering ddb. This flag comes in handy at systems without a serial port that either hang during booting or reser. Reviewed by: (partly by jlemon) MFC after: 1 week
* Default to WARNS=2.obrien2001-12-041-1/+0
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Use ${MACHINE}, it works with cross-builds.ru2001-09-121-4/+2
|
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-1/+3
|
* mdoc(7) police:ru2001-08-071-3/+6
| | | | | | | 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.
* Remove whitespace at EOL.dd2001-07-152-17/+17
|
* Constify and set WARNS=2.dd2001-07-152-1/+3
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtins (e.g., exit, strcmp).
* Remove duplicate words.dd2001-06-241-1/+1
|
* Remove the "undocumented" comment in re lflag.nik2001-05-241-1/+1
|
* Document the -l option.nik2001-05-241-4/+15
| | | | | PR: docs/27440 Submitted by: Flix-Antoine Paradis <reel@sympatico.ca>
* mdoc(7) police: normalize .Nd.ru2001-04-181-2/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+2
| | | | - MAN[1-9] -> MAN.
* Reboot(8) normally waits 5 seconds after sending SIGTERMs to alliedowse2001-03-201-10/+32
| | | | | | | | | | 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.
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-22/+33
|
* Prepare for mdoc(7)NG.ru2000-12-181-1/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* .Xr boot0cfg 8 ,hoek2000-05-131-0/+1
| | | | PR: misc/18267 (Usov Alexander <[3]usov@ups.kiev.ua>)
* The new boot code uses `ad' for ATA disks, not `wd'. Correct thejkoshy2000-03-031-3/+3
| | | | manual page.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Add `.Nm fastboot' and `.Nm fasthalt' to NAME section.phantom2000-01-101-3/+4
|
* Add a "-d" option which causes the system to generate a crash dump.jdp1999-11-212-4/+17
|
* Sync with reallity (USERCONFIG_BOOT option was removed long time ago)phantom1999-10-151-6/+9
| | | | mdoc(7)'fy
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
OpenPOWER on IntegriCloud