Changeset 16 for scripts/usr/local/bin/7dtd-instances.sh
- Timestamp:
- May 17, 2014, 6:14:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/bin/7dtd-instances.sh
r14 r16 14 14 echo ${line// /-} 15 15 for I in $(getInstanceList); do 16 run=$(isRunning $I) 17 if [ $run -eq 1 ]; then 16 if [ $(isRunning $I) -eq 1 ]; then 18 17 run="yes" 19 18 tel=$(telnetCommand $I lp) … … 44 43 echo 45 44 46 res=$(isRunning $1) 47 if [ $res -eq 1 ]; then 45 if [ $(isRunning $1) -eq 1 ]; then 48 46 echo "Status: Running" 49 47 echo "Open ports:"
Note:
See TracChangeset
for help on using the changeset viewer.