summaryrefslogtreecommitdiffstats
path: root/sbin/reboot
Commit message (Collapse)AuthorAgeFilesLines
* Remove stale references to utmp(5) and its corresponding filenames.ed2010-01-211-3/+2
| | | | I removed utmp and its manpage, but not other manpages referring to it.
* Port the remaining apps in sbin/ to utmpx; only reboot(8).ed2010-01-132-4/+1
|
* Add forgotten `void' keyword. This function has no arguments.ed2009-12-291-1/+1
|
* Let init(8) and reboot(8) use utmpx to log wtmp entries.ed2009-12-052-4/+9
| | | | | | | | logwtmp() gets called with the raw strings that are written to disk. For regular user entries, this isn't too bad, but when booting/shutting down, the contents get rather cryptic. Just call the standardized pututxline().
* More rational usage()des2009-11-101-3/+5
|
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-1/+0
| | | | Submitted by: Ulrich Spörlein
* Remove and unused variable.bz2009-01-311-2/+1
| | | | | Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks
* - Sweep the boot(8) man page after addition of boot.config(5).danger2007-08-181-15/+8
| | | | | Reviewed by: keramida Approved by: re (kensmith)
* Cross-reference nextboot(8).jkoshy2006-11-222-0/+2
| | | | MFC after: 3 days
* Block a variety of signals which may afffect reboot(8), before killingbms2006-08-021-2/+15
| | | | | | | | | | init(8), to avoid losing a race to them and dying before being able to call reboot(2). PR: bin/64664 Submitted by: maxim Obtained from: NetBSD MFC after: 30 days
* Block SIGHUP before killing init(8), to avoid a race condition which maybms2006-08-021-3/+3
| | | | | | | | kill the current process and hang the system when attempting reboot. PR: bin/64664 Reviewed by: ssouhal, phk (historic) MFC after: 30 days
* o Describe what actually boot(8) -m mutes.maxim2006-04-181-1/+2
| | | | | | PR: docs/67893 Submitted by: Chris Pepper, Daniel Gerzo MFC after: 2 weeks
* Revert previous change, "getopts" (with an 's') is a builtin inwes2006-01-181-23/+8
| | | | /bin/sh.
* Remove dependency on getopts because it is on /usr and we want towes2006-01-161-8/+23
| | | | use 'nextboot -D' in rc. Option parsing cribbed from vgrind.sh.
* -mdoc sweep.ru2005-11-181-2/+2
|
* Do not install boot_i386.8 on all architectures.ru2005-11-171-1/+3
|
* Add new option `q', which makes second stage loader quiet unless autobootsobomax2005-10-161-1/+10
| | | | | | is disabled or fails. MFC after: 1 week
* Replace "/etc/make.conf" with references to make.conf(5)yar2005-10-101-1/+2
| | | | | | | | | where applicable. The main reason for this change is that the location of make.conf is not constant and can be modified via __MAKE_CONF. This change also improves hyper-text linkage in our manpages. MFC after: 2 weeks
* Simplified markup.ru2005-09-281-10/+3
|
* Add the ability to specify the boot2 serial console speed iniedowse2005-08-181-4/+22
| | | | | | | | /boot.config or on the "boot:" prompt line via a "-S<speed>" flag, e.g. "-h -S19200". This adds about 50 bytes to the size of boot2 and required a few other small changes to limit the size impact. This changes only affects boot2; there are further loader changes to follow.
* Spell "partition" correctly.keramida2005-07-281-1/+1
| | | | | | PR: docs/84198 Submitted by: Gary W. Swearingen MFC after: 3 days
* 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
|
OpenPOWER on IntegriCloud