From a80eb472ef591ecfdf5374663cfb91065c6b280f Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Sat, 29 Jul 2023 09:43:26 -0700 Subject: [PATCH] removed test.sh --- file_fixes_and_new_services/test.sh | 62 ----------------------------- 1 file changed, 62 deletions(-) delete mode 100644 file_fixes_and_new_services/test.sh diff --git a/file_fixes_and_new_services/test.sh b/file_fixes_and_new_services/test.sh deleted file mode 100644 index e3e9f49..0000000 --- a/file_fixes_and_new_services/test.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env bash - -function log_console () { - echo "`date` :: $1" >> /var/lib/beacons/awesome.log - echo $1 -} - - -#### CHECK TO SEE IF IT HAS BEEN RUN BEFORE #### - -FILE=/var/lib/beacons/file_fixes_and_new_services/jitsi/completed - - if [ -e $FILE ]; then - - /run/current-system/sw/bin/echo "File Found :), No Need to Run ... Exiting" - - exit 1 - - fi - - -#### CREATE INITIAL TAG #### - -/run/current-system/sw/bin/mkdir -p /var/lib/beacons/file_fixes_and_new_services/jitsi ; touch /var/lib/beacons/file_fixes_and_new_services/jitsi/started - - if [[ $? != 0 ]]; then - - /run/current-system/sw/bin/echo "Could Not Create Initial Tag" - - exit 1 - - fi - - -#### MAIN SCRIPT #### - -/run/current-system/sw/bin/mkdir /var/lib/cool - - if [[ $? != 0 ]]; then - - /run/current-system/sw/bin/echo "Could Not Create Cool" - - exit 1 - - fi - - - -#### CREATE COMPELETE TAG #### - -/run/current-system/sw/bin/touch /var/lib/beacons/file_fixes_and_new_services/jitsi/completed - - if [[ $? != 0 ]]; then - - /run/current-system/sw/bin/echo "Could Not Create Completed Tag" - - exit 1 - - fi - - -exit 0 \ No newline at end of file