oops, if -> type
SVN-Revision: 11
This commit is contained in:
parent
459b8be491
commit
c912266ae5
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ configure () {
|
||||||
[ -f /etc/resolv.conf ] && return
|
[ -f /etc/resolv.conf ] && return
|
||||||
|
|
||||||
echo "# --- creating /etc/resolv.conf ---"
|
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
|
echo "nameserver $dns" >> /etc/resolv.conf
|
||||||
}; done
|
}; done
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue