mirror of https://github.com/hak5/openwrt-owl.git
parent
776355717c
commit
fb29bd369a
|
@ -13,8 +13,9 @@ preinit_ip() {
|
|||
else
|
||||
ifname=eth0
|
||||
fi
|
||||
pi_ifname=$ifname
|
||||
}
|
||||
pi_ifname=$ifname
|
||||
}
|
||||
fi
|
||||
[ -n "$pi_ifname" ] && grep "$pi_ifname" /proc/net/dev >/dev/null && {
|
||||
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue