1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-07 21:58:33 +03:00

make sure that the dhcp client (or other processes necessary to get a connection) gets restarted when the wifi is restarted

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13026 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-10-23 01:07:35 +00:00
parent 0e35e0a124
commit 76193c6241

View File

@ -67,6 +67,7 @@ start_net() {(
local iface="$1"
local config="$2"
[ -f "/var/run/$iface.pid" ] && kill "$(cat /var/run/${iface}.pid)" 2>/dev/null
include /lib/network
scan_interfaces
setup_interface "$1" "$2"