forked from axiom-team/astroport
init g1sms variables & call initkeys
This commit is contained in:
parent
bfbd44509e
commit
da17fcf5d2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue