From 84910126521ccabdd7f8070fea4e859df14eaaf6 Mon Sep 17 00:00:00 2001 From: Alter Step Date: Wed, 10 Jun 2015 00:39:54 +0200 Subject: [PATCH] Keep the resolvers list update status around for a day --- .../DNSCrypt/extra/usr/scripts/afterboot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/afterboot.sh b/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/afterboot.sh index 2db1b9a..2e4a7d3 100755 --- a/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/afterboot.sh +++ b/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/afterboot.sh @@ -4,7 +4,7 @@ rm -f "$QUERY_LOG_FILE" rm -f "$DEBUG_LOG_FILE" -rm -f "$RESOLVERS_LIST_STATE" +find -X -x "$RESOLVERS_LIST_STATE" -type f -mtime +1 -exec rm -f {} \; 2>/dev/null ./clear-fw.sh