summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Pryor <profjim@jimpryor.net>2009-09-14 05:43:40 +0200
committerJames Rayner <james@archlinux.org>2009-09-14 08:24:20 +0200
commitf2da81ef36dcce8cfd4b841ca1677e744818b3be (patch)
treed3a604b9edb8330efc93d6ab9d2c2bc3b41b8427 /src
parent3b2636322f4d72af1d5485baf2bdfb8d59077c7b (diff)
downloadnetctl-f2da81ef36dcce8cfd4b841ca1677e744818b3be.tar.gz
netctl-f2da81ef36dcce8cfd4b841ca1677e744818b3be.tar.xz
/sys/class/rfkill/rfkillN/state=2 for disabled on my system
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
Diffstat (limited to 'src')
-rw-r--r--src/wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wireless b/src/wireless
index cab017e..1292281 100644
--- a/src/wireless
+++ b/src/wireless
@@ -173,7 +173,7 @@ get_rf_state() {
state=$(cat "$path/state")
case "$state" in
- 0)
+ 0|2)
echo "disabled";;
1)
echo "enabled";;