mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:30:16 +02:00
oops, if -> type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
15f61ce088
commit
cbff0d85f5
@ -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 New Issue
Block a user