diff options
Diffstat (limited to 'examples/var_service/fw/etc/resolv.conf')
-rw-r--r-- | examples/var_service/fw/etc/resolv.conf | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/var_service/fw/etc/resolv.conf b/examples/var_service/fw/etc/resolv.conf index 3f37b86..6561987 100644 --- a/examples/var_service/fw/etc/resolv.conf +++ b/examples/var_service/fw/etc/resolv.conf @@ -16,16 +16,16 @@ echo prio=0 i=0; while test "${if[$i]}"; do - test x"${dns_prio[$i]}" != x"" \ - && test "${dns_prio[$i]}" -gt "$prio" \ - && prio="${dns_prio[$i]}" + test x"${dns_prio[$i]}" != x"" \ + && test "${dns_prio[$i]}" -gt "$prio" \ + && prio="${dns_prio[$i]}" let i++; done i=0; while test "${if[$i]}"; do - for d in ${dns[$i]}; do - p="${dns_prio[$i]}" - test x"$p" == x"" && p=0 - test x"$p" == x"$prio" || continue - echo "nameserver $d" - done + for d in ${dns[$i]}; do + p="${dns_prio[$i]}" + test x"$p" == x"" && p=0 + test x"$p" == x"$prio" || continue + echo "nameserver $d" + done let i++; done |