summaryrefslogtreecommitdiffstats
path: root/sbin/reboot
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r280191:allanjude2015-04-161-1/+7
| | | | | | | Document that nextboot(8) doesn't work as expected with ZFS Approved by: eadler (mentor, implicit) Sponsored by: ScaleEngine Inc.
* Add a new gptboot(8) man page. Factor out the redundant informationwblock2013-07-011-1/+2
| | | | | | | in gpart(8) and boot(8), adding references to gptboot(8) in both. Reviewed by: jhb, ae, pjd, Paul Schenkeveld <bsdcan@psconsult.nl>, david_a_bright@dell.com (portions), gjb MFC after: 1 week
* Clarify that overriding the -h/-D flags through flags in device.hintsn_hibma2013-02-261-4/+3
| | | | only works for sio(4) but not for uart(4) which no longer has this flag.
* Add BSD copyright notice.emaste2012-02-071-2/+22
| | | | Approved by: gordon@
* Add -e to set arbitrary kernel environment variables.emaste2012-01-312-10/+44
| | | | | | | | Nextboot(8) can now set any combination of kernel name (-k), kernel options (-o), and environment strings (-e). As a result of this change -k also becomes optional. Reviewed by: freebsd-current (Ian Lepore, pluknet@, jhb@)
* Spelling fixes for sbin/uqs2012-01-071-1/+1
|
* Let reboot(8) use getprogname() to compare the program name.ed2011-12-111-3/+3
| | | | | While there, mark the global variable dohalt static, as reboot(8) only consists of a single C file.
* Remove vestiges of disklabel(5).pluknet2011-04-141-3/+1
| | | | | Reviewed by: uqs MFC after: 5 days
* Remove stale reference to wtmp(5).ed2010-10-111-2/+2
| | | | Reported by: pluknet
* nextboot: warn about limitations of /boot/nextboot.conf on ZFSavg2010-09-171-0/+8
| | | | MFC after: 1 week
* Let boot(8) refer to the uart(4) serial driver, which is the replacementbcr2010-07-041-3/+3
| | | | | | | | | for the obsolete sio(4) driver. PR: docs/144498 Submitted by: Bruce Cran (bruce at cran dot org dot uk) Approved by: marcel MFC after: 2 weeks
* 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
OpenPOWER on IntegriCloud