Skip to content

Commit addce67

Browse files
author
bol-van
committedJul 31, 2024
uninstall_easy, install_prereq: fix config/config.default logic
1 parent 9ef4d53 commit addce67

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎install_prereq.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ZAPRET_CONFIG="$EXEDIR/config"
88
ZAPRET_BASE="$EXEDIR"
99

1010
[ -f "$ZAPRET_CONFIG" ] || cp "${ZAPRET_CONFIG}.default" "$ZAPRET_CONFIG"
11+
. "$ZAPRET_CONFIG"
1112
. "$ZAPRET_BASE/common/base.sh"
1213
. "$ZAPRET_BASE/common/elevate.sh"
1314
. "$ZAPRET_BASE/common/fwtype.sh"

‎uninstall_easy.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ IPSET_DIR="$EXEDIR/ipset"
88
ZAPRET_CONFIG="$EXEDIR/config"
99
ZAPRET_BASE="$EXEDIR"
1010

11+
[ -f "$ZAPRET_CONFIG" ] || cp "${ZAPRET_CONFIG}.default" "$ZAPRET_CONFIG"
1112
. "$ZAPRET_CONFIG"
1213
. "$ZAPRET_BASE/common/base.sh"
1314
. "$ZAPRET_BASE/common/elevate.sh"

0 commit comments

Comments
 (0)
Please sign in to comment.