diff options
Diffstat (limited to 'net-scripts/net.modules.d/essidnet')
-rw-r--r-- | net-scripts/net.modules.d/essidnet | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net-scripts/net.modules.d/essidnet b/net-scripts/net.modules.d/essidnet index 6956c31..fbb8b30 100644 --- a/net-scripts/net.modules.d/essidnet +++ b/net-scripts/net.modules.d/essidnet @@ -17,8 +17,7 @@ essidnet_depend() { before interface system after wireless installed wireless - functions wireless_check_extensions wireless_get_essid \ - wireless_get_ap_mac_address + functions wireless_exists wireless_get_essid wireless_get_ap_mac_address } # bool essidnet_start(char *iface) @@ -31,7 +30,7 @@ essidnet_depend() { essidnet_pre_start() { local iface="$1" - wireless_check_extensions "${iface}" || return 0 + wireless_exists "${iface}" || return 0 local mac=$( wireless_get_ap_mac_address "${iface}" ) local ESSID=$( wireless_get_essid "${iface}" ) |