Changeset 13924 in hybrid
- Timestamp:
- Jun 15, 2017, 2:34:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/files/tools/nameserver-shuffle
r13915 r13924 50 50 NAMESERVERS=`sort -n $RESULTLIST | awk '{print $2}'` 51 51 for NAMESERVER in $NAMESERVERS; do 52 QUERY_TIME=`grep $NAMESERVER$RESULTLIST | cut -d' ' -f1`52 QUERY_TIME=`grep "${NAMESERVER}$" $RESULTLIST | cut -d' ' -f1` 53 53 [ $QUERY_TIME = "9999" ] && STATUS="Query time: down" || STATUS="Query time: $QUERY_TIME" 54 54 # awk magic to get maximum length of comment field (for display purposes).
Note:
See TracChangeset
for help on using the changeset viewer.