oops, if -> type
[openwrt.git] / root / etc / networking.sh
index 6eb967b..74e0023 100755 (executable)
@@ -90,7 +90,7 @@ configure () {
       [ -f /etc/resolv.conf ] && return
 
       echo "# --- creating /etc/resolv.conf ---"
-      for dns in $(nvram_get ${if}_dns); do {
+      for dns in $(nvram_get ${type}_dns); do {
        echo "nameserver $dns" >> /etc/resolv.conf
       }; done
     ;;
This page took 0.024421 seconds and 4 git commands to generate.