mirror of https://github.com/hak5/openwrt-owl.git
make sure that the dhcp client (or other processes necessary to get a connection) gets restarted when the wifi is restarted
SVN-Revision: 13026owl
parent
c57577bf5b
commit
c0e753bcdc
|
@ -67,6 +67,7 @@ start_net() {(
|
||||||
local iface="$1"
|
local iface="$1"
|
||||||
local config="$2"
|
local config="$2"
|
||||||
|
|
||||||
|
[ -f "/var/run/$iface.pid" ] && kill "$(cat /var/run/${iface}.pid)" 2>/dev/null
|
||||||
include /lib/network
|
include /lib/network
|
||||||
scan_interfaces
|
scan_interfaces
|
||||||
setup_interface "$1" "$2"
|
setup_interface "$1" "$2"
|
||||||
|
|
Loading…
Reference in New Issue