Selaa lähdekoodia

Don't try to fix stig failures because this triggers the tripwire

Bob Mottram 8 vuotta sitten
vanhempi
commit
80be052424
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      src/freedombone-utils-cron

+ 1
- 1
src/freedombone-utils-cron Näytä tiedosto

82
     echo "ADMIN_EMAIL_ADDRESS=${MY_USERNAME}@\${HOSTNAME}" >> /etc/cron.daily/stig_tests
82
     echo "ADMIN_EMAIL_ADDRESS=${MY_USERNAME}@\${HOSTNAME}" >> /etc/cron.daily/stig_tests
83
     echo "pkill ${PROJECT_NAME}-tests" >> /etc/cron.daily/stig_tests
83
     echo "pkill ${PROJECT_NAME}-tests" >> /etc/cron.daily/stig_tests
84
     echo 'rm -rf /tmp/*' >> /etc/cron.daily/stig_tests
84
     echo 'rm -rf /tmp/*' >> /etc/cron.daily/stig_tests
85
-    echo "${PROJECT_NAME}-tests --stig fix > /tmp/daily-stig-tests" >> /etc/cron.daily/stig_tests
85
+    echo "${PROJECT_NAME}-tests --stig yes > /tmp/daily-stig-tests" >> /etc/cron.daily/stig_tests
86
     echo 'if [ ! "$?" = "0" ]; then' >> /etc/cron.daily/stig_tests
86
     echo 'if [ ! "$?" = "0" ]; then' >> /etc/cron.daily/stig_tests
87
     echo "    echo \"\$(cat /tmp/daily-stig-tests)\" | mail -s \"${PROJECT_NAME} STIG test failures\" \$ADMIN_EMAIL_ADDRESS" >> /etc/cron.daily/stig_tests
87
     echo "    echo \"\$(cat /tmp/daily-stig-tests)\" | mail -s \"${PROJECT_NAME} STIG test failures\" \$ADMIN_EMAIL_ADDRESS" >> /etc/cron.daily/stig_tests
88
     echo 'fi' >> /etc/cron.daily/stig_tests
88
     echo 'fi' >> /etc/cron.daily/stig_tests