From 5c0fd72ef9a8e220ba4f1e5e8dca286ef11b7e56 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Thu, 22 Jun 2023 15:11:28 -0700 Subject: [PATCH] updated test.sh --- file_fixes_and_new_services/test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/file_fixes_and_new_services/test.sh b/file_fixes_and_new_services/test.sh index 5bee2d1..44df39a 100644 --- a/file_fixes_and_new_services/test.sh +++ b/file_fixes_and_new_services/test.sh @@ -1,6 +1,10 @@ #!/usr/bin/env bash -exec 1> /var/lib/beacons/awesome.log 2>&1 +function log_console () { + echo "`date` :: $1" >> /var/lib/beacons/awesome.log + echo $1 +} + #### CHECK TO SEE IF IT HAS BEEN RUN BEFORE ####