added sturcture for updates

This commit is contained in:
naturallaw77 2023-06-21 21:05:37 -07:00
parent 5a16f5172d
commit 3dbf300303

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3
exec 1> /var/lib/beacons/awesome.log 2>&1
LOGFILE=/var/lib/beacons/awesome.log
echo "$(date "+%m%d%Y %T")" >> $LOGFILE 2>&1
#### CHECK TO SEE IF IT HAS BEEN RUN BEFORE ####