freebsd-nq/sbin
Thomas Quinot cfde77fbdf Set only the RB_POWEROFF flag (not the RB_HALT flag) when
'-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)
2002-10-06 16:24:36 +00:00
..
adjkerntz s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
atacontrol Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 08:34:08 +00:00
atm Cast malloc() assignments. 2002-10-02 06:24:19 +00:00
badsect s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
bsdlabel Don't be noisy if DIOCWLABEL fails, it's probably because we're writing 2002-10-05 21:57:05 +00:00
camcontrol Split cam_argmask and move "commands" into cam_cmdmask. This addresses 2002-09-08 05:39:36 +00:00
ccdconfig s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
clri use 'file system superblock' for the error message. This will match other 2002-08-31 21:34:54 +00:00
comcontrol The .Nm utility 2002-07-06 19:34:18 +00:00
conscontrol The .Nm utility 2002-07-06 19:34:18 +00:00
cxconfig Default to WARNS=2. 2001-12-04 02:19:58 +00:00
devfs Don't depend on pollution in <machine/limits.h> (by way of 2002-07-29 17:09:21 +00:00
dhclient Removed now unused INTERNALSTATICLIB. 2002-05-13 11:09:07 +00:00
disklabel Don't be noisy if DIOCWLABEL fails, it's probably because we're writing 2002-10-05 21:57:05 +00:00
dmesg s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
dump Changed "file system" back to "filesystem" in the usage message. English 2002-10-01 13:44:15 +00:00
dumpfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
dumpon s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
fdisk Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1: 2002-10-01 07:24:55 +00:00
fdisk_pc98 Include <sys/diskpc98.h> 2002-10-04 14:05:00 +00:00
ffsinfo s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
fsck s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
fsck_ffs Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
fsck_msdosfs Fix some 'SYNOPSIS' and 'usage' messages. 2002-08-27 00:49:27 +00:00
fsdb I forgot fsdb was still sharing files with fsck. 2002-09-16 14:18:43 +00:00
fsirand s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
gpt Make this compile without needing NO_WERROR. 2002-08-25 02:51:13 +00:00
growfs Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
ifconfig Don't crash when the user feeds us nonesense in the form: 2002-10-02 02:17:59 +00:00
init Give up on a tty if opening it's special file returns ENOENT like we do for 2002-09-27 16:02:28 +00:00
ip6fw Check if a host argument is a IPv6 presentation format address before 2002-08-25 05:44:13 +00:00
ipf * add extra -I path to get the "matching" header files. 2002-03-20 09:02:48 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Hopefully fix make world. 2002-03-19 22:51:53 +00:00
ipfw Do not dump core on 'ipfw add unreach': handling null strings in 2002-09-25 11:22:36 +00:00
ipmon * add extra -I path to get the "matching" header files. (and split the one 2002-03-20 09:04:34 +00:00
ipnat * need to compile printnat.c now that this function is in a separate .c file 2002-03-20 09:01:48 +00:00
kldconfig s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
kldload The .Nm utility 2002-07-06 19:34:18 +00:00
kldstat The .Nm utility 2002-07-06 19:34:18 +00:00
kldunload The .Nm utility 2002-07-06 19:34:18 +00:00
ldconfig Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
mca Grab a snapshot of Marcel's WIP ia64 machine check decoder. 2002-07-20 19:31:11 +00:00
md5 Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
mdconfig Don't show disklabel in the examples, it is not necessary. 2002-09-26 21:29:10 +00:00
mdmfs Don't disklabel(8) the md(4) device, it is not needed, and we don't want 2002-09-22 09:46:28 +00:00
mknod s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_cd9660 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_ext2fs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_hpfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_msdosfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nfs Removed a debugging printf() left here in peter's 2002-09-14 15:14:29 +00:00
mount_ntfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nullfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nwfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_portalfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_smbfs Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
mount_std s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_udf s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_umapfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_unionfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
natd can not -> cannot. 2002-08-13 14:10:36 +00:00
newfs Remove a comma trailing an if clause. 2002-10-01 17:31:28 +00:00
newfs_msdos EFI GPT partitions use 'p' as a slice seperator. eg: da0p1 or da0p217. 2002-10-04 00:29:26 +00:00
nfsiod No need to include sys/time.h, this unbreaks a c89 warning about long long 2002-08-16 08:19:15 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nos-tun Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 19:46:20 +00:00
ping Add an -o option to exit after receiving one reply. This can be used 2002-10-02 03:24:27 +00:00
ping6 Back out previous commit. I was a bit overzealous: the fd_set size is 2002-09-09 16:43:18 +00:00
quotacheck Fix some 'SYNOPSIS' and 'usage' messages. 2002-08-27 00:49:27 +00:00
rcorder The .Nm utility. Add FreeBSD Id. 2002-07-06 19:34:37 +00:00
reboot Set only the RB_POWEROFF flag (not the RB_HALT flag) when 2002-10-06 16:24:36 +00:00
restore Use the standardized CHAR_BIT constant instead of NBBY in userland. 2002-09-25 04:06:37 +00:00
route The .Nm utility. 2002-07-06 19:35:14 +00:00
routed Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
rtsol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
savecore s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
setkey Fix spacing for -P (policy) examples. 2002-07-27 21:06:06 +00:00
shutdown s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
slattach The .Nm utility. 2002-07-06 19:35:14 +00:00
spppcontrol mdoc(7) police: tidy up the markup. 2002-01-10 16:02:23 +00:00
startslip Use `The .Nm utility' 2002-04-19 23:06:29 +00:00
swapon s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
sysctl Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:10:45 +00:00
tunefs Removed vestiges of the -a and -d options. 2002-09-06 13:16:24 +00:00
umount s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
vinum s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
Makefile Turn nfsiod back on. It is basically now just a sysctl wrapper that also 2002-07-24 22:14:27 +00:00
Makefile.inc Default to WARNS=2. 2001-12-04 02:19:58 +00:00