summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xroot/etc/networking.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/root/etc/networking.sh b/root/etc/networking.sh
index 6eb967b14..74e002329 100755
--- a/root/etc/networking.sh
+++ b/root/etc/networking.sh
@@ -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
;;