summaryrefslogtreecommitdiff
path: root/security/ipfw2dshield/files/patch-ipfw2dshield
blob: a9595771bd5ce67637a004a3985a0bdcdb30ae47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- ipfw2dshield.orig	Sat Oct  9 10:53:48 2004
+++ ipfw2dshield	Wed Nov 24 21:46:41 2004
@@ -279,7 +279,8 @@
 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