init g1sms variables & call initkeys

This commit is contained in:
qo-op 2020-05-11 01:19:09 +02:00
parent bfbd44509e
commit da17fcf5d2
1 changed files with 2 additions and 1 deletions

View File

@ -7,8 +7,9 @@
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
[[ ! $($which bc) ]] && sudo apt-get install bc -y ## TODO: migration need TO REMOVE
[[ ! $(which bc) ]] && sudo apt-get install bc -y ## TODO: migration need TO REMOVE
[[ ! -f /tmp/g1sms.log ]] && echo "ASTROPORT G1SMS ACTIVITY" > /tmp/g1sms.log && chmod 777 /tmp/g1sms.log
function log () {
[[ "$DOLOG" == "YES" ]] && echo "$PHONE:$1" >> /tmp/g1sms.log;
}