firewall: add possibility to load an additionnal rules file:

firewall.local if exists.
This commit is contained in:
Jeremy Gardais 2015-09-16 23:05:06 +02:00
parent d7a819df4b
commit 03511ce7d6
1 changed files with 6 additions and 0 deletions

View File

@ -366,6 +366,12 @@ case "${1}" in
fi fi
done done
# If exist, load local rules file
if [ -f "${0}.local" ]; then
printf '%b' "Load local rules file\n"
${0}.local
fi
fw_log fw_log
;; ;;
stop) stop)