mirror of https://github.com/hak5/openwrt-owl.git
parent
1ce8e3192b
commit
cac1789e6c
|
@ -118,6 +118,7 @@ setup_interface() {
|
|||
config_get dns "$config" dns
|
||||
|
||||
$DEBUG ifconfig "$iface" "$ipaddr" netmask "$netmask"
|
||||
$DEBUG ifconfig "$iface" inet6 add "$ip6addr"
|
||||
[ -z "$gateway" ] || route add default gw "$gateway"
|
||||
[ -z "$dns" -o -f /tmp/resolv.conf ] || {
|
||||
for ns in $dns; do
|
||||
|
|
Loading…
Reference in New Issue