Changeset 11 for scripts/usr/local/bin/7dtd-kill.sh
- Timestamp:
- May 15, 2014, 8:49:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/bin/7dtd-kill.sh
r10 r11 16 16 res=$(isRunning $1) 17 17 if [ $res -eq 1 ]; then 18 telnetCommand shutdown 19 start-stop-daemon --stop --pidfile $(getInstancePath $1)/7dtd.pid 18 telnetCommand $1 shutdown 19 sleep 1 20 res=$(isRunning $1) 21 if [ $res -eq 1 ]; then 22 start-stop-daemon --stop --pidfile $(getInstancePath $1)/7dtd.pid 23 fi 20 24 rm $(getInstancePath $1)/7dtd.pid 21 25 echo "Done"
Note:
See TracChangeset
for help on using the changeset viewer.