diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-04-13 04:41:19 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-04-13 04:41:19 +0000 |
commit | cbff0d85f54798614fd13fa34c147d457dc8b322 (patch) | |
tree | e7a1d7d30162959e98511f9671b18cf7456ba6f8 | |
parent | 15f61ce088e6eb642caf493bfb7951abd3a87765 (diff) |
oops, if -> type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | root/etc/networking.sh | 2 |
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 ;; |