Bug #345281: If wpa_supplicant is built w/ USE=dbus, we need to start after DBus is up.
This commit is contained in:
parent
80d5f7d27b
commit
f8f03bdbbf
@ -3,10 +3,14 @@
|
|||||||
|
|
||||||
wpa_supplicant_depend()
|
wpa_supplicant_depend()
|
||||||
{
|
{
|
||||||
if [ -x /usr/sbin/wpa_supplicant ]; then
|
wpas=/usr/sbin/wpa_supplicant
|
||||||
program start /usr/sbin/wpa_supplicant
|
[ -x ${wpas} ] || wpas=/sbin/wpa_supplicant
|
||||||
else
|
if [ -x ${wpas} ]; then
|
||||||
program start /sbin/wpa_supplicant
|
program start ${wpas}
|
||||||
|
# bug 345281: if wpa_supplicant is built w/ USE=dbus, we need to start
|
||||||
|
# dbus before we can start wpa_supplicant.
|
||||||
|
${wpas} -h |grep DBus -sq
|
||||||
|
[ $? -eq 0 ] && need dbus
|
||||||
fi
|
fi
|
||||||
after macnet plug
|
after macnet plug
|
||||||
before interface
|
before interface
|
||||||
|
Loading…
Reference in New Issue
Block a user