Dont erase .tmp files, this is the data from the UI

This commit is contained in:
Alter Step
2017-02-09 02:05:18 +01:00
parent 9b6fbab397
commit 5a42ae621a
3 changed files with 0 additions and 6 deletions
@@ -12,6 +12,4 @@ tr -s '[:blank:]' '\n' < "$BLACKLIST_DOMAINS_TMP_FILE" | \
"${BLACKLIST_DOMAINS_TMP_FILE}~" &&
mv "${BLACKLIST_DOMAINS_TMP_FILE}~" "$BLACKLIST_DOMAINS_FILE"
rm -f "$BLACKLIST_DOMAINS_TMP_FILE"
exec ./switch-blacklists-on.sh
@@ -12,6 +12,4 @@ tr -s '[:blank:]' '\n' < "$BLACKLIST_IPS_TMP_FILE" | \
"${BLACKLIST_IPS_TMP_FILE}~" &&
mv "${BLACKLIST_IPS_TMP_FILE}~" "$BLACKLIST_IPS_FILE"
rm -f "$BLACKLIST_IPS_TMP_FILE"
exec ./switch-blacklists-on.sh
@@ -12,6 +12,4 @@ tr -s '[:blank:]' '\n' < "$EXCEPTIONS_TMP_FILE" | \
egrep -i '^\s*[0-9a-z_.-]+\s*$' > "${EXCEPTIONS_TMP_FILE}~" &&
mv "${EXCEPTIONS_TMP_FILE}~" "$EXCEPTIONS_FILE"
rm -f "$EXCEPTIONS_TMP_FILE"
exec ./switch-exceptions-on.sh