From 4888f3c97d8e239005e3ccc6a4da46ab2f354564 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 14 Nov 2007 16:25:47 +0000 Subject: wpa_supplicant also works on wired interfaces, Gentoo #198722. --- net/wpa_supplicant.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net/wpa_supplicant.sh b/net/wpa_supplicant.sh index 7ca87bd7..63c37c35 100644 --- a/net/wpa_supplicant.sh +++ b/net/wpa_supplicant.sh @@ -71,7 +71,11 @@ wpa_supplicant_pre_start() { wpac=/bin/wpa_cli fi - _is_wireless || return 0 + eval opts=\$wpa_supplicant_${IFVAR} + case " ${opts} " in + *" -Dwired "*) ;; + *) _is_wireless || return 0;; + esac # We don't configure wireless if we're being called from # the background unless we're not currently running @@ -86,7 +90,6 @@ wpa_supplicant_pre_start() { fi save_options "SSID" "" - eval opts=\$wpa_supplicant_${IFVAR} ebegin "Starting wpa_supplicant on" "${IFVAR}" -- cgit v1.2.3