Set ifup to trigger only after driver finishes probing
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
case "$ACTION" in
|
||||
add)
|
||||
bind)
|
||||
[ -e /sys/class/net/wlan0 ] || exit 0
|
||||
ifdown wlan0 2>/dev/null
|
||||
killall wpa_supplicant 2>/dev/null
|
||||
ifup wlan0
|
||||
;;
|
||||
remove)
|
||||
remove|unbind)
|
||||
ifdown wlan0 2>/dev/null
|
||||
killall wpa_supplicant 2>/dev/null
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user