commit:     60bd853443f8e01c4309aeb2f3198f959c62cfdf
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 18 14:21:31 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jan 18 14:26:11 2021 +0000
URL:        https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=60bd8534

net/wpa_supplicant.sh: Removed non-working "need dbus" call

This is a remnant from when netifrc was part of openrc.
After netifrc became it's own standalone project, the call "need dbus"
got caught by the need() function from openrc's sh/openrc-run.sh script
which does a simple echo on every input it receives.

Bug: https://bugs.gentoo.org/622730
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net/wpa_supplicant.sh | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/net/wpa_supplicant.sh b/net/wpa_supplicant.sh
index d5e2013..3f8e1b1 100644
--- a/net/wpa_supplicant.sh
+++ b/net/wpa_supplicant.sh
@@ -4,14 +4,6 @@
 
 wpa_supplicant_depend()
 {
-       wpas=/usr/sbin/wpa_supplicant
-       [ -x ${wpas} ] || wpas=/sbin/wpa_supplicant
-       if [ -x ${wpas} ]; then
-               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 -Fsq DBus && need dbus
-       fi
        after macnet plug
        before interface
        provide wireless

Reply via email to