summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwkoszek <wkoszek@FreeBSD.org>2006-02-26 16:45:29 +0000
committerwkoszek <wkoszek@FreeBSD.org>2006-02-26 16:45:29 +0000
commitf23b544905158b6185851c01f7bfe621ff66e588 (patch)
tree0e7e30e8ab7b4102894f899f410bcaa3d3221ce7 /etc
parent0d5e416e119f58ad04815861bdaf2ff6af6e86da (diff)
downloadFreeBSD-src-f23b544905158b6185851c01f7bfe621ff66e588.zip
FreeBSD-src-f23b544905158b6185851c01f7bfe621ff66e588.tar.gz
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
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/ipfw2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/ipfw b/etc/rc.d/ipfw
index 5418fd9..e88c0d8 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.'
OpenPOWER on IntegriCloud