diff options
Diffstat (limited to 'src/lib/connections/ethernet')
-rw-r--r-- | src/lib/connections/ethernet | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/connections/ethernet b/src/lib/connections/ethernet index 6cc2c12..dfd0117 100644 --- a/src/lib/connections/ethernet +++ b/src/lib/connections/ethernet @@ -30,7 +30,7 @@ ethernet_up() { if is_yes "${Auth8021X:-no}"; then - . "$SUBR_DIR/8021x" + . "$SUBR_DIR/wpa" : ${WPAConfigFile:=/etc/wpa_supplicant.conf} : ${WPADriver:=wired} : ${TimeoutWPA:=15} @@ -50,7 +50,7 @@ ethernet_up() { fi if ! ip_set; then - stop_80211x + stop_8021x bring_interface_down "$Interface" return 1 fi @@ -58,14 +58,14 @@ ethernet_up() { ethernet_down() { ip_unset - stop_80211x + stop_8021x bring_interface_down "$Interface" } # Stop wpa_supplicant if neccessary -stop_80211x() { +stop_8021x() { if is_yes "${Auth8021X:-no}"; then - . "$SUBR_DIR/8021x" + . "$SUBR_DIR/wpa" : ${WPAConfigFile:=/etc/wpa_supplicant.conf} do_debug wpa_stop "$Interface" fi |