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 9231e6718a
commit 8647b941d6
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