summaryrefslogtreecommitdiffstats
path: root/sbin/reboot
Commit message (Collapse)AuthorAgeFilesLines
* Truncate nextboot.conf file on creation, so existing garbage will be removed.pjd2005-03-211-1/+2
| | | | | | Submitted by: Gary Allan <dragonfly@gallan.plus.com> Obtained from: DragonFlyBSD MFC after: 3 days
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-102-12/+12
|
* Code style tweaks: Use static and const where suitable.delphij2005-01-251-7/+6
|
* The kernel specified in main() of reboot(8) will be initializeddelphij2005-01-252-5/+5
| | | | | | | | | | | | | 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
* Sort sections.ru2005-01-181-11/+11
|
* Scheduled mdoc(7) sweep.ru2005-01-101-1/+2
|
* Fixed desctiptions of some options:ru2004-09-301-18/+6
| | | | | | | | | | - Document better what the -C option means. - The -c option is currently a no-op. - The -D and -h options do not allow switching between single/dual console modes and internal/video consoles. (This used to be true for the old biosdisk boot code, but now they just force the multiple consoles mode and serial console, respectively.)
* FreeBSD has full support for multiple consoles since 2001.ru2004-09-301-7/+1
|
* Sort the SEE ALSO list correctly. Update the document date.brooks2004-09-231-2/+2
| | | | Reported by: ru
* Refrence bsdlabel.8 and bsdlabel.5 rather then the obsolete disklabel.8brooks2004-09-231-3/+3
| | | | | | | | and disklabel.5. Refrencing bsdlabel.5 is somewhat bogus as it is not connected to the build and is mostly unwritten at this point. Reported by: Matthias Andree <matthias.andree at web.de> PR: docs/72020
* Clarify boot.8 (i386 version) a bit, so that people knowsilby2004-07-181-2/+10
| | | | | | where boot.config needs to reside. Also change /kernel to /boot/loader, as that is the apparent default now. This man page probably requires more updates.
* Mechanically kill hard sentence breaks.ru2004-07-021-22/+44
|
* Remove advertising clause from University of California Regent's license,markm2004-04-093-12/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Share the i386 boot manual page.obrien2004-03-221-0/+3
|
* Use __FBSDID() to quiet GCC 3.3 warnings.obrien2003-05-031-4/+4
|
* 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
|
OpenPOWER on IntegriCloud