From c48ff549915990ea857870aa0cfd1455ec88d425 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 31 Aug 2015 14:50:44 +0100 Subject: [PATCH] Weekly update resets tripwire --- src/freedombone | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedombone b/src/freedombone index d48ffc2d..416d6a87 100755 --- a/src/freedombone +++ b/src/freedombone @@ -10001,6 +10001,12 @@ function create_upgrade_script { echo ' cp gpgit.pl /usr/bin' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'fi' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME + echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME + echo "echo ' + +' | reset-tripwire" >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME + echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME + echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME chmod +x /etc/cron.weekly/$UPGRADE_SCRIPT_NAME echo 'create_upgrade_script' >> $COMPLETION_FILE