Skip to content

Commit

Permalink
move start and end time to log
Browse files Browse the repository at this point in the history
  • Loading branch information
krispayne committed Feb 13, 2016
1 parent 97bd9a1 commit 6b582ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElCapitan_CIS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ archive_log_location="/var/log/cis_install-`date +%Y-%m-%d-%H-%M-%S`.log"
### 1 Install Updates, Patches and Additional Security Software
softwareUpdates() {

echo `date +%Y-%m-%d\ %H:%M:%S`
ScriptLogging "`date +%Y-%m-%d\ %H:%M:%S`"

ScriptLogging "1 Install Updates, Patches, and Additional Security Software"
ScriptLogging " ------------------- "
Expand Down Expand Up @@ -525,7 +525,7 @@ cleanAndReboot() {
#/usr/bin/killall -HUP blued
# ^ do we really need this if rebooting?

echo `date +%Y-%m-%d\ %H:%M:%S`
ScriptLogging "`date +%Y-%m-%d\ %H:%M:%S`"
/sbin/shutdown -r now
}

Expand Down

0 comments on commit 6b582ec

Please sign in to comment.