diff options
author | Wojciech A. Koszek <wkoszek@FreeBSD.org> | 2006-02-26 16:45:29 +0000 |
---|---|---|
committer | Wojciech A. Koszek <wkoszek@FreeBSD.org> | 2006-02-26 16:45:29 +0000 |
commit | 46e6cc852befc83dafc9abd651a8d9436d80d555 (patch) | |
tree | 0e7e30e8ab7b4102894f899f410bcaa3d3221ce7 /etc | |
parent | 34a9df200400b9bac3c2e9ed96b1c00e459ddcd8 (diff) | |
download | src-46e6cc852befc83dafc9abd651a8d9436d80d555.tar.gz src-46e6cc852befc83dafc9abd651a8d9436d80d555.zip |
Use 'ipfw list' instead of 'ipfw l', since it's deprecated (and warning is
printed on system startup).
Approved by: cognet (mentor)
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=156030
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/ipfw | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ipfw b/etc/rc.d/ipfw index 5418fd98b97f..e88c0d8f3b47 100644 --- a/etc/rc.d/ipfw +++ b/etc/rc.d/ipfw @@ -41,7 +41,7 @@ ipfw_start() fi . "${firewall_script}" echo -n 'Firewall rules loaded' - elif [ "`ipfw l 65535`" = "65535 deny ip from any to any" ]; then + elif [ "`ipfw list 65535`" = "65535 deny ip from any to any" ]; then echo 'Warning: kernel has firewall functionality, but' \ ' firewall rules are not enabled.' echo ' All ip services are disabled.' |