summaryrefslogtreecommitdiffstats
path: root/src/netctl-auto
diff options
context:
space:
mode:
Diffstat (limited to 'src/netctl-auto')
-rwxr-xr-xsrc/netctl-auto4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/netctl-auto b/src/netctl-auto
index 7519325..5cf104b 100755
--- a/src/netctl-auto
+++ b/src/netctl-auto
@@ -177,7 +177,7 @@ start() {
source "$PROFILE_DIR/interfaces/$interface"
fi
if [[ $RFKill ]]; then
- enable_rf "$interface" "$RFKill" || return 1
+ rf_enable "$interface" "$RFKill" || return 1
fi
@@ -227,7 +227,7 @@ stop() {
fi
timeout_wait 1 '! wpa_is_active "$interface"' || wpa_stop "$interface"
ip link set dev "$interface" down
- [[ $RFKill ]] && disable_rf "$interface" "$RFKill"
+ [[ $RFKill ]] && rf_disable "$interface" "$RFKill"
return 0
}