summaryrefslogtreecommitdiff
path: root/core/rfkill
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
committerroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
commit1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch)
tree016bfa1969323404c37dbef29cfc7242a5a8e9f3 /core/rfkill
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'core/rfkill')
-rw-r--r--core/rfkill/60-rfkill.rules1
-rw-r--r--core/rfkill/rfkill.conf.d20
-rwxr-xr-xcore/rfkill/rfkill.rc.d38
-rw-r--r--core/rfkill/service11
4 files changed, 0 insertions, 70 deletions
diff --git a/core/rfkill/60-rfkill.rules b/core/rfkill/60-rfkill.rules
deleted file mode 100644
index bc98a3bef..000000000
--- a/core/rfkill/60-rfkill.rules
+++ /dev/null
@@ -1 +0,0 @@
-KERNEL=="rfkill", GROUP="rfkill", MODE="0664"
diff --git a/core/rfkill/rfkill.conf.d b/core/rfkill/rfkill.conf.d
deleted file mode 100644
index 4483da26c..000000000
--- a/core/rfkill/rfkill.conf.d
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# /etc/conf.d/rfkill
-# Configuration for the rfkill startup script
-#
-
-# List of devices to block on startup (space-separated)
-RFKILL_BLOCK=""
-
-# List of devices to unblock on startup (space-separated)
-RFKILL_UNBLOCK="all"
-
-# Supported device names are: all, wifi, bluetooth, umb, wimax, wwan, gps and specific device names like phy0, hci0, ...
-# See "rfkill list" for available devices
-# Examples:
-#
-# Block all bluetooth devices:
-# RFKILL_BLOCK="bluetooth"
-#
-# Unblock the phy0 wifi device and all wwan devices:
-# RFKILL_UNBLOCK="phy0 wwan"
diff --git a/core/rfkill/rfkill.rc.d b/core/rfkill/rfkill.rc.d
deleted file mode 100755
index ce90ee150..000000000
--- a/core/rfkill/rfkill.rc.d
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/rfkill
-
-case "$1" in
- start)
- for device in ${RFKILL_BLOCK}; do
- stat_busy "Blocking rfkill device: ${device}"
- /usr/sbin/rfkill block ${device}
- if [ $? -eq 0 ]; then
- stat_done
- else
- stat_fail
- fi
- done
- for device in ${RFKILL_UNBLOCK}; do
- stat_busy "Unblocking rfkill device: ${device}"
- /usr/sbin/rfkill unblock ${device}
- if [ $? -eq 0 ]; then
- stat_done
- else
- stat_fail
- fi
- done
- ;;
- stop)
- ;;
- restart)
- $0 start
- ;;
- *)
- echo "usage: $0 {start}"
- exit 1
- ;;
-esac
-exit 0
diff --git a/core/rfkill/service b/core/rfkill/service
deleted file mode 100644
index decd5b6fc..000000000
--- a/core/rfkill/service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=RFKill-Block Selected Devices
-
-[Service]
-Type=oneshot
-ExecStart=/usr/sbin/rfkill block 9999
-ExecStop=/usr/sbin/rfkill unblock all
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target