Add kalkun script exectution if exist iin sms_received.sh
This commit is contained in:
parent
ad7c7348da
commit
08b628a8a9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue