Sfoglia il codice sorgente

Weekly update resets tripwire

Bob Mottram 9 anni fa
parent
commit
c48ff54991
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6
    0
      src/freedombone

+ 6
- 0
src/freedombone Vedi File

@@ -10001,6 +10001,12 @@ function create_upgrade_script {
10001 10001
   echo '    cp gpgit.pl /usr/bin' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
10002 10002
   echo 'fi' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
10003 10003
 
10004
+  echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
10005
+  echo "echo '
10006
+
10007
+' | reset-tripwire" >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
10008
+  echo '' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
10009
+
10004 10010
   echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
10005 10011
   chmod +x /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
10006 10012
   echo 'create_upgrade_script' >> $COMPLETION_FILE