freebsd-dev/sbin
nate 5911736438 Because 'ipfw flush' is such a dangerous command (given that most
firewalls are remote, and this command will kill the network connection
to them), prompt the user for confirmation of this command.

Also, add the '-f' flag which ignores the need for confirmation the
command, and if there is no controlling tty (isatty(STDIN_FILENO) !=0)
assume '-f'.

If anyone is using ipfw flush in scripts it shouldn't affect them, but you
may want to change the script to use a 'ipfw -f flush'.

Reviewed by:	alex
1996-08-31 17:58:23 +00:00
..
adjkerntz English corrections from jdp. 1996-04-09 11:31:34 +00:00
badsect Submitted by: Philippe Charnier <charnier@lirmm.fr>, added to by bde 1995-04-02 16:52:14 +00:00
bsdlabel Moved initialization of defaults for the label for the whole disk from 1996-06-17 14:43:54 +00:00
ccdconfig Our kernel is not called /netbsd. ;) 1996-06-14 10:51:47 +00:00
clri removed xref to icheck(8), ncheck(8) as they don't exist 1996-04-11 07:49:34 +00:00
comcontrol Fix even more spelling errors in some more man pages. 1996-01-30 16:34:52 +00:00
cxconfig This upgrades the driver for Cronyx-Sigma multiplexor boards 1995-10-04 22:24:16 +00:00
disklabel Moved initialization of defaults for the label for the whole disk from 1996-06-17 14:43:54 +00:00
dmesg Add relevant files to the FILES section 1996-08-03 19:13:35 +00:00
dset Stupid bug, the default man page goes to section 1, not 8. 1996-05-03 18:09:06 +00:00
dump Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
dumpfs Fix a couple of bogus casts to off_t that caused dumpfs to lseek negative 1996-06-23 00:05:04 +00:00
dumplfs Fixed a type to match Lite2's fixed-width type changes. 1996-03-19 14:41:05 +00:00
dumpon Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
fdisk Code clean up. Prototypes, parentheses around assignments used in 1996-06-21 02:39:19 +00:00
fsck From: Terry Lambert <terry@lambert.org> 1996-05-09 16:38:27 +00:00
fsck_ffs From: Terry Lambert <terry@lambert.org> 1996-05-09 16:38:27 +00:00
fsck_ifs From: Terry Lambert <terry@lambert.org> 1996-05-09 16:38:27 +00:00
fsdb Adjust relative paths in Makefile to ../sbin/fsck and ../../sys/ufs/ffs 1995-11-24 23:12:00 +00:00
i386 add nextboot by default 1996-08-09 22:44:55 +00:00
ifconfig Submitted by: archie@whistle.com 1996-07-23 01:18:47 +00:00
init Better method of choosing libdescrypt/libscrypt. 1996-05-04 08:16:20 +00:00
ipfw Because 'ipfw flush' is such a dangerous command (given that most 1996-08-31 17:58:23 +00:00
ldconfig General -Wall warning cleanup, part I. 1996-07-12 19:08:36 +00:00
md5 Fix to match new API. Fixes memory leak, faster. 1995-07-12 09:14:46 +00:00
mknod Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
modload Attempt to unlink any stale .o files before relocating code. 1996-08-13 00:50:59 +00:00
modunload fix a reference in "SEE ALSO" (modunload(8) mistakenly references 1995-10-26 21:44:11 +00:00
mount [HISTORY] command appeared in Version 1 AT&T UNIX 1996-08-29 18:06:19 +00:00
mount_cd9660 Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_ext2fs Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
mount_ifs [HISTORY] command appeared in Version 1 AT&T UNIX 1996-08-29 18:06:19 +00:00
mount_lfs Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_msdos One program I missed in removing MOUNT_* constants. 1996-05-13 17:56:34 +00:00
mount_msdosfs One program I missed in removing MOUNT_* constants. 1996-05-13 17:56:34 +00:00
mount_nfs Get rid of the last vestiges of the old MOUNT_* constants in the 1996-05-13 17:43:19 +00:00
mount_null Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_nullfs Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_portal Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_portalfs Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_std Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_umap Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_umapfs Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
mount_union Disable setuid permission for mount_union(1). 1996-05-17 22:46:01 +00:00
mount_unionfs Disable setuid permission for mount_union(1). 1996-05-17 22:46:01 +00:00
mountd Add one line fix to stop my old 'don't barf if you see the same 1996-08-29 14:20:57 +00:00
newfs man page link tmpfs.8 -> mfs.8 for former SunOS users 1996-02-02 06:31:57 +00:00
newlfs Document LFS as broken. 1996-05-12 11:12:17 +00:00
nextboot slight man page additions re: deficiencies 1996-08-09 22:41:57 +00:00
nfsd Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
nfsiod Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
nologin Now that we have a manpage, don't have the 'clean' target be a NO-OP. 1996-07-10 18:36:41 +00:00
ping Print out ICMP errors that are responses to our own packets by default. 1996-08-20 23:50:16 +00:00
quotacheck Silence some cc -Wall warnings in quotacheck. 1996-02-27 08:04:48 +00:00
rdisc Correct a bunch of man page cross references and generally 1996-02-11 22:38:05 +00:00
reboot Add support to halt, to allow it to request that the power be turned off 1996-08-24 01:40:02 +00:00
restore When running 'rrestore foo', you get a segmentation fault because 1996-07-23 19:33:44 +00:00
route back out a part of the previous patch that garrett objected to.. 1996-08-19 18:52:49 +00:00
savecore a header file for zopen.3 1996-08-20 20:49:39 +00:00
scsi Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
scsiformat Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
shutdown Delete bogus referneces to timezone code internal header file `tzfile.h', 1995-08-07 19:17:46 +00:00
slattach Properly distinguish 3 different cases: 1996-03-12 23:14:45 +00:00
startslip Fixed a couple of format strings to match the change of pid_t from long 1996-04-13 15:47:43 +00:00
swapon Take out special error message for EINVAL...we really do want it to be 1995-05-14 02:18:18 +00:00
sysctl Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
tunefs Correct some man page cross references and some file 1996-02-05 17:32:16 +00:00
umount Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
Makefile Return make_union, s-bit removed 1996-05-19 17:24:10 +00:00
Makefile.inc Split CRYPTOBJDIR -> SCRYPTOBJDIR/DESCRYPTOBJDIR for init(8) 1996-05-04 08:11:47 +00:00