Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Dont run reset-firewall if the user disabled ipfw already
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed May 21, 2015
1 parent 5753d58 commit 01c973b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-sh/pcbsd-utils/pc-extractoverlay/pc-extractoverlay
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ post_extract_setup()

# If the default firewall rules are missing, create them now
if [ ! -e "/etc/ipfw.rules" ] ; then
/usr/local/share/pcbsd/scripts/reset-firewall
if [ "`sysrc -n firewall_enable`" = "YES" ] ; then
/usr/local/share/pcbsd/scripts/reset-firewall
fi
fi

# Make sure freebsd-update ignores rc.conf.pcbsd
Expand Down

0 comments on commit 01c973b

Please sign in to comment.