opnsense-ports/security/ipfw2dshield/files/patch-ipfw2dshield
Franco Fichtner 5b1a01a32e */*: sync with upstream
Taken from: FreeBSD
2016-04-05 16:41:34 +02:00

12 lines
272 B
Text

--- ipfw2dshield.orig 2004-10-09 08:54:10 UTC
+++ ipfw2dshield
@@ -279,7 +279,8 @@ else
fi
# Suck in the config file.
-rc=~/.$prog.rc
+rc=%%PREFIX%%/etc/$prog.rc
+[ -e ~/.$prog.rc ] && rc=~/.$prog.rc
[ -r $rc ] || bye "Permission denied: $rc"
. $rc
_logdir=$logdir