aboutsummaryrefslogtreecommitdiff
path: root/sbin/reboot
Commit message (Collapse)AuthorAgeFilesLines
* Document that nextboot(8) doesn't work as expected with ZFSAllan Jude2015-03-171-1/+7
| | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2087 Submitted by: feld (request) Reviewed by: feld Approved by: bcr (mentor) Sponsored by: ScaleEngine Inc. Notes: svn path=/head/; revision=280191
* Reference uefi(8) from i386 boot(8)Ed Maste2014-11-141-2/+8
| | | | | | | | | Suggested by trasz. Differential Revision: https://reviews.freebsd.org/D1162 Notes: svn path=/head/; revision=274527
* use .Mt to mark up email addresses consistently (part1)Baptiste Daroussin2014-06-201-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267667
* Minor mdoc improvements.Joel Dahl2014-06-061-1/+0
| | | | Notes: svn path=/head/; revision=267182
* Add a new gptboot(8) man page. Factor out the redundant informationWarren Block2013-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 Notes: svn path=/head/; revision=252492
* Clarify that overriding the -h/-D flags through flags in device.hintsNick Hibma2013-02-261-4/+3
| | | | | | | only works for sio(4) but not for uart(4) which no longer has this flag. Notes: svn path=/head/; revision=247359
* Add BSD copyright notice.Ed Maste2012-02-071-2/+22
| | | | | | | Approved by: gordon@ Notes: svn path=/head/; revision=231129
* Add -e to set arbitrary kernel environment variables.Ed Maste2012-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@) Notes: svn path=/head/; revision=230812
* Spelling fixes for sbin/Ulrich Spörlein2012-01-071-1/+1
| | | | Notes: svn path=/head/; revision=229778
* Let reboot(8) use getprogname() to compare the program name.Ed Schouten2011-12-111-3/+3
| | | | | | | | While there, mark the global variable dohalt static, as reboot(8) only consists of a single C file. Notes: svn path=/head/; revision=228408
* Remove vestiges of disklabel(5).Sergey Kandaurov2011-04-141-3/+1
| | | | | | | | Reviewed by: uqs MFC after: 5 days Notes: svn path=/head/; revision=220617
* Remove stale reference to wtmp(5).Ed Schouten2010-10-111-2/+2
| | | | | | | Reported by: pluknet Notes: svn path=/head/; revision=213697
* nextboot: warn about limitations of /boot/nextboot.conf on ZFSAndriy Gapon2010-09-171-0/+8
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=212789
* Let boot(8) refer to the uart(4) serial driver, which is the replacementBenedict Reuschling2010-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 Notes: svn path=/head/; revision=209703
* Remove stale references to utmp(5) and its corresponding filenames.Ed Schouten2010-01-211-3/+2
| | | | | | | I removed utmp and its manpage, but not other manpages referring to it. Notes: svn path=/head/; revision=202756
* Port the remaining apps in sbin/ to utmpx; only reboot(8).Ed Schouten2010-01-132-4/+1
| | | | Notes: svn path=/head/; revision=202195
* Add forgotten `void' keyword. This function has no arguments.Ed Schouten2009-12-291-1/+1
| | | | Notes: svn path=/head/; revision=201182
* Let init(8) and reboot(8) use utmpx to log wtmp entries.Ed Schouten2009-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(). Notes: svn path=/head/; revision=200161
* More rational usage()Dag-Erling Smørgrav2009-11-101-3/+5
| | | | Notes: svn path=/head/; revision=199130
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Remove and unused variable.Bjoern A. Zeeb2009-01-311-2/+1
| | | | | | | | Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks Notes: svn path=/head/; revision=187956
* - Sweep the boot(8) man page after addition of boot.config(5).Daniel Gerzo2007-08-181-15/+8
| | | | | | | | Reviewed by: keramida Approved by: re (kensmith) Notes: svn path=/head/; revision=171883
* Cross-reference nextboot(8).Joseph Koshy2006-11-222-0/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=164509
* Block a variety of signals which may afffect reboot(8), before killingBruce M Simpson2006-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 Notes: svn path=/head/; revision=160916
* Block SIGHUP before killing init(8), to avoid a race condition which mayBruce M Simpson2006-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 Notes: svn path=/head/; revision=160914
* o Describe what actually boot(8) -m mutes.Maxim Konovalov2006-04-181-1/+2
| | | | | | | | | PR: docs/67893 Submitted by: Chris Pepper, Daniel Gerzo MFC after: 2 weeks Notes: svn path=/head/; revision=157847
* Revert previous change, "getopts" (with an 's') is a builtin inWes Peters2006-01-181-23/+8
| | | | | | | /bin/sh. Notes: svn path=/head/; revision=154498
* Remove dependency on getopts because it is on /usr and we want toWes Peters2006-01-161-8/+23
| | | | | | | use 'nextboot -D' in rc. Option parsing cribbed from vgrind.sh. Notes: svn path=/head/; revision=154431
* -mdoc sweep.Ruslan Ermilov2005-11-181-2/+2
| | | | Notes: svn path=/head/; revision=152568
* Do not install boot_i386.8 on all architectures.Ruslan Ermilov2005-11-171-1/+3
| | | | Notes: svn path=/head/; revision=152544
* Add new option `q', which makes second stage loader quiet unless autobootMaxim Sobolev2005-10-161-1/+10
| | | | | | | | | is disabled or fails. MFC after: 1 week Notes: svn path=/head/; revision=151367
* Replace "/etc/make.conf" with references to make.conf(5)Yaroslav Tykhiy2005-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 Notes: svn path=/head/; revision=151202
* Simplified markup.Ruslan Ermilov2005-09-281-10/+3
| | | | Notes: svn path=/head/; revision=150662
* Add the ability to specify the boot2 serial console speed inIan Dowse2005-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. Notes: svn path=/head/; revision=149212
* Spell "partition" correctly.Giorgos Keramidas2005-07-281-1/+1
| | | | | | | | | PR: docs/84198 Submitted by: Gary W. Swearingen MFC after: 3 days Notes: svn path=/head/; revision=148475
* Truncate nextboot.conf file on creation, so existing garbage will be removed.Pawel Jakub Dawidek2005-03-211-1/+2
| | | | | | | | | Submitted by: Gary Allan <dragonfly@gallan.plus.com> Obtained from: DragonFlyBSD MFC after: 3 days Notes: svn path=/head/; revision=143948
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-102-12/+12
| | | | Notes: svn path=/head/; revision=141611
* Code style tweaks: Use static and const where suitable.Xin LI2005-01-251-7/+6
| | | | Notes: svn path=/head/; revision=140795
* The kernel specified in main() of reboot(8) will be initializedXin LI2005-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 Notes: svn path=/head/; revision=140794
* Sort sections.Ruslan Ermilov2005-01-181-11/+11
| | | | Notes: svn path=/head/; revision=140415
* Scheduled mdoc(7) sweep.Ruslan Ermilov2005-01-101-1/+2
| | | | Notes: svn path=/head/; revision=139987
* Fixed desctiptions of some options:Ruslan Ermilov2004-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.) Notes: svn path=/head/; revision=135962
* FreeBSD has full support for multiple consoles since 2001.Ruslan Ermilov2004-09-301-7/+1
| | | | Notes: svn path=/head/; revision=135959
* Sort the SEE ALSO list correctly. Update the document date.Brooks Davis2004-09-231-2/+2
| | | | | | | Reported by: ru Notes: svn path=/head/; revision=135618
* Refrence bsdlabel.8 and bsdlabel.5 rather then the obsolete disklabel.8Brooks Davis2004-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 Notes: svn path=/head/; revision=135593
* Clarify boot.8 (i386 version) a bit, so that people knowMike Silbersack2004-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. Notes: svn path=/head/; revision=132367
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-22/+44
| | | | Notes: svn path=/head/; revision=131488
* Remove advertising clause from University of California Regent's license,Mark Murray2004-04-093-12/+0
| | | | | | | | | per letter dated July 22, 1999. Approved by: core, imp Notes: svn path=/head/; revision=128073
* Share the i386 boot manual page.David E. O'Brien2004-03-221-0/+3
| | | | Notes: svn path=/head/; revision=127285
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+4
| | | | Notes: svn path=/head/; revision=114589