mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-10-30 07:49:55 +08:00
oops, if -> type
SVN-Revision: 11
This commit is contained in:
@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user