make sure that the dhcp client (or other processes necessary to get a connection...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 23 Oct 2008 01:07:35 +0000 (01:07 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 23 Oct 2008 01:07:35 +0000 (01:07 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13026 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/sbin/wifi

index 54e55b4..63e132d 100755 (executable)
@@ -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"
This page took 0.021908 seconds and 4 git commands to generate.