Add kalkun script exectution if exist iin sms_received.sh

This commit is contained in:
poka 2019-12-15 23:27:06 +00:00
parent ad7c7348da
commit 08b628a8a9
1 changed files with 13 additions and 9 deletions

View File

@ -26,6 +26,10 @@
# Version: 0.1
# License: GPL (http://www.google.com/search?q=GPL)
################################################################################
# Execute Kalkun daemon
[[ -f /var/www/kalkun/scripts/daemon.sh ]] && /var/www/kalkun/scripts/daemon.sh
export YOU=$(ps aux --sort=+utime | grep ipfs | tail -n 1 | cut -d " " -f 1)
export CHEMIN="/home/$YOU/G1sms+"
cd $CHEMIN