summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/ipfw5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.d/ipfw b/etc/rc.d/ipfw
index eda4437..90636c2 100644
--- a/etc/rc.d/ipfw
+++ b/etc/rc.d/ipfw
@@ -35,11 +35,12 @@ ipfw_start()
[ -z "${firewall_script}" ] && firewall_script=/etc/rc.firewall
if [ -r "${firewall_script}" ]; then
- . "${firewall_script}"
- echo -n 'Firewall rules loaded, starting divert daemons:'
+ echo -n 'Starting divert daemons:'
if [ -f /etc/rc.d/natd ] ; then
/etc/rc.d/natd start
fi
+ . "${firewall_script}"
+ echo -n 'Firewall rules loaded'
elif [ "`ipfw l 65535`" = "65535 deny ip from any to any" ]; then
echo 'Warning: kernel has firewall functionality, but' \
' firewall rules are not enabled.'
OpenPOWER on IntegriCloud