diff --git a/install_prereq.sh b/install_prereq.sh index f757358..df03a56 100755 --- a/install_prereq.sh +++ b/install_prereq.sh @@ -8,6 +8,7 @@ ZAPRET_CONFIG="$EXEDIR/config" ZAPRET_BASE="$EXEDIR" [ -f "$ZAPRET_CONFIG" ] || cp "${ZAPRET_CONFIG}.default" "$ZAPRET_CONFIG" +. "$ZAPRET_CONFIG" . "$ZAPRET_BASE/common/base.sh" . "$ZAPRET_BASE/common/elevate.sh" . "$ZAPRET_BASE/common/fwtype.sh" diff --git a/uninstall_easy.sh b/uninstall_easy.sh index 47126e6..38bcaa0 100755 --- a/uninstall_easy.sh +++ b/uninstall_easy.sh @@ -8,6 +8,7 @@ IPSET_DIR="$EXEDIR/ipset" ZAPRET_CONFIG="$EXEDIR/config" ZAPRET_BASE="$EXEDIR" +[ -f "$ZAPRET_CONFIG" ] || cp "${ZAPRET_CONFIG}.default" "$ZAPRET_CONFIG" . "$ZAPRET_CONFIG" . "$ZAPRET_BASE/common/base.sh" . "$ZAPRET_BASE/common/elevate.sh"