Changeset 90 for scripts/usr/local/lib/7dtd/commands/instances.sh
- Timestamp:
- Jul 19, 2014, 2:26:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/instances.sh
r24 r90 9 9 if [ $(isRunning $I) -eq 1 ]; then 10 10 run="yes" 11 tel=$(telnetCommand $I lp) 12 cur=`echo $tel | sed "s/\r/\n/g" | sed "s/^ //g" | grep "Total of " | cut -d\ -f 3` 11 cur=$(telnetCommand $I lp | grep -E "^\s?Total of " | cut -d\ -f 3) 13 12 else 14 13 run="no"
Note:
See TracChangeset
for help on using the changeset viewer.