From: Mike Baker Date: Tue, 13 Apr 2004 04:41:19 +0000 (+0000) Subject: oops, if -> type X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=2adc8b1ca8c02de6500eb48293de4906676cb9c0 oops, if -> type SVN-Revision: 11 --- diff --git a/root/etc/networking.sh b/root/etc/networking.sh index 6eb967b14c..74e0023296 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 ;;