From 6b582ec53f71878c8d143ce5f98d46795d4d6bbd Mon Sep 17 00:00:00 2001 From: Kris Payne Date: Sat, 13 Feb 2016 15:55:48 -0800 Subject: [PATCH] move start and end time to log --- ElCapitan_CIS.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElCapitan_CIS.sh b/ElCapitan_CIS.sh index e003055..ed912cc 100644 --- a/ElCapitan_CIS.sh +++ b/ElCapitan_CIS.sh @@ -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 " ------------------- " @@ -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 }