added sturcture for updates
This commit is contained in:
parent
5a16f5172d
commit
3dbf300303
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
exec 3>&1 4>&2
|
LOGFILE=/var/lib/beacons/awesome.log
|
||||||
trap 'exec 2>&4 1>&3' 0 1 2 3
|
|
||||||
exec 1> /var/lib/beacons/awesome.log 2>&1
|
echo "$(date "+%m%d%Y %T")" >> $LOGFILE 2>&1
|
||||||
|
|
||||||
#### CHECK TO SEE IF IT HAS BEEN RUN BEFORE ####
|
#### CHECK TO SEE IF IT HAS BEEN RUN BEFORE ####
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user