-rwxr-xr-x | noncore/tools/opie-sh/scripts/hostlist.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/tools/opie-sh/scripts/hostlist.sh b/noncore/tools/opie-sh/scripts/hostlist.sh index 6575e9c..6d70793 100755 --- a/noncore/tools/opie-sh/scripts/hostlist.sh +++ b/noncore/tools/opie-sh/scripts/hostlist.sh | |||
@@ -26,6 +26,6 @@ hostlist() { | |||
26 | echo "<h3>Hostlist</h3><br>" | 26 | echo "<h3>Hostlist</h3><br>" |
27 | HOSTLIST=`cat $CFG` | 27 | HOSTLIST=`cat $CFG | grep -v '#'` |
28 | for HOST in $HOSTLIST | 28 | for HOST in $HOSTLIST |
29 | do | 29 | do |
30 | PT=` ping -c1 $HOST | grep avg|cut -d " " -f4-` | 30 | PT=` ping -c 1 $HOST | grep avg|cut -d " " -f4-` |
31 | if [ "$PT" != "" ] | 31 | if [ "$PT" != "" ] |