projects
/
openwrt
/
staging
/
adrian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
459b8be
)
oops, if -> type
author
Mike Baker
<mbm@openwrt.org>
Tue, 13 Apr 2004 04:41:19 +0000
(
04:41
+0000)
committer
Mike Baker
<mbm@openwrt.org>
Tue, 13 Apr 2004 04:41:19 +0000
(
04:41
+0000)
SVN-Revision: 11
root/etc/networking.sh
patch
|
blob
|
history
diff --git
a/root/etc/networking.sh
b/root/etc/networking.sh
index 6eb967b14c80b080a2ee9147d3df339b7e4e0679..74e0023296f778da67479875915729af1cd98d4b 100755
(executable)
--- 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
;;