diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-07-05 13:30:23 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-07-05 13:30:23 +0200 |
commit | b05d29e34ac3e870c5ae384ae63545a547440dd5 (patch) | |
tree | ee36c0ed71e0fc53f55e0a975b677b2cde1c1023 /src/connections/wireless | |
parent | 0f5eb3ef064c4a62a5ba3c8f4733f8e61556687b (diff) | |
download | netctl-b05d29e34ac3e870c5ae384ae63545a547440dd5.tar.gz netctl-b05d29e34ac3e870c5ae384ae63545a547440dd5.tar.xz |
Remove unused status functions
Diffstat (limited to 'src/connections/wireless')
-rw-r--r-- | src/connections/wireless | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/connections/wireless b/src/connections/wireless index e0321d4..135bec7 100644 --- a/src/connections/wireless +++ b/src/connections/wireless @@ -109,17 +109,6 @@ wireless_down() { fi } -# Returns status of profile - is it still functional? -wireless_status() { - load_profile "$1" - if ! wpa_check_current_essid "$INTERFACE" "$ESSID"; then - return 1 - elif ! ip link show dev "$INTERFACE" | fgrep -q "state UP"; then - return 1 - fi - -} - wireless_$1 "$2" "$3" exit $? |