updated test.sh
This commit is contained in:
parent
b63f32e9a5
commit
5c0fd72ef9
@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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 ####
|
#### CHECK TO SEE IF IT HAS BEEN RUN BEFORE ####
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user