aboutsummaryrefslogtreecommitdiff
path: root/sbin/reboot/reboot.c
Commit message (Expand)AuthorAgeFilesLines
* reboot(8): add support for noshutdownKonstantin Belousov12 days1-0/+7
* nextboot: Smarter warning about deleting nextbootWarner Losh2025-01-141-1/+16
* nextboot: Permit ZFS boot filesystems mounted at the pool's rootJohn Baldwin2024-05-301-3/+3
* nextboot: Write nextboot.conf safelyMark Johnston2024-04-031-9/+29
* nextboot: check unlink, but only warn on !ENOENTWarner Losh2024-02-221-1/+2
* reboot: Emulate nextboot -D betterWarner Losh2024-02-211-2/+1
* nextboot: fix nextboot -k on ZFSGleb Smirnoff2024-02-201-0/+5
* nextboot: fix typo that merged two args into oneGleb Smirnoff2024-02-201-1/+1
* reboot: Move extern for environWarner Losh2024-02-181-1/+2
* reboot: Remove sys/types.h: it's not needed here...Warner Losh2024-02-181-1/+0
* reboot: Use posix_spawn instead of systemWarner Losh2024-02-161-16/+38
* reboot: initialize howtoWarner Losh2024-02-151-1/+2
* reboot: Allow this to be installed as nextbootWarner Losh2024-02-121-8/+26
* reboot: Implement -o to set kernel options for next bootWarner Losh2024-02-121-1/+4
* reboot: Implement -k in terms of envWarner Losh2024-02-121-7/+6
* reboot: Implement -e from nextbootWarner Losh2024-02-121-4/+45
* reboot: Implement zfs supportWarner Losh2024-02-121-9/+49
* reboot: Implement -D from nextbootWarner Losh2024-02-121-3/+14
* reboot: Add sanity checking of write to nextboot.confWarner Losh2024-02-121-10/+37
* reboot: Don't reboot if the next kernel isn't thereWarner Losh2024-02-121-2/+19
* reboot: convert flags to boolsWarner Losh2024-02-121-11/+13
* reboot: Disallow -k and -r, it doesn't make sense.Warner Losh2024-02-121-0/+2
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-9/+0
* sbin: Remove ancient SCCS tags.Warner Losh2023-11-271-3/+0
* reboot(8): print syscall error on sysctl failureKonstantin Belousov2023-11-131-1/+1
* reboot(8): adapt for vmmeter v_swappgsin expansion to 64bitKonstantin Belousov2023-11-131-5/+5
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory2023-07-071-1/+1
* boottrace: annotate init and shutdown utilitiesMitchell Horne2022-02-221-2/+8
* Fix "fasthalt" to halt instead of rebootEric van Gyzen2018-09-141-1/+1
* Exit with usage when extra arguments are on command lineRodney W. Grimes2018-04-051-0/+2
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
* Add -c to the usage statements.Warner Losh2017-10-311-2/+2
* Add power cycle support to reboot/halt as -c.Warner Losh2017-10-251-2/+13
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Add missing parameters -N and -l to reroot and halt usage()Renato Botelho2016-05-061-2/+2
* Fix use of uninitialised NflagSteven Hartland2015-12-301-1/+1
* Add flag to disable inital reboot(8) userland syncSteven Hartland2015-12-151-2/+8
* Userspace part of reroot support. This makes it possible to changeEdward Tomasz Napierala2015-11-081-1/+19
* Let reboot(8) use getprogname() to compare the program name.Ed Schouten2011-12-111-3/+3
* Port the remaining apps in sbin/ to utmpx; only reboot(8).Ed Schouten2010-01-131-2/+1
* Add forgotten `void' keyword. This function has no arguments.Ed Schouten2009-12-291-1/+1
* Let init(8) and reboot(8) use utmpx to log wtmp entries.Ed Schouten2009-12-051-2/+7
* More rational usage()Dag-Erling Smørgrav2009-11-101-3/+5
* Remove and unused variable.Bjoern A. Zeeb2009-01-311-2/+1
* Block a variety of signals which may afffect reboot(8), before killingBruce M Simpson2006-08-021-2/+15
* Block SIGHUP before killing init(8), to avoid a race condition which mayBruce M Simpson2006-08-021-3/+3
* Truncate nextboot.conf file on creation, so existing garbage will be removed.Pawel Jakub Dawidek2005-03-211-1/+2
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-101-2/+2
* Code style tweaks: Use static and const where suitable.Xin LI2005-01-251-7/+6