From 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 10 Feb 2013 01:12:52 -0800 Subject: Sun Feb 10 01:12:35 PST 2013 --- core/rfkill/60-rfkill.rules | 1 - core/rfkill/rfkill.conf.d | 20 -------------------- core/rfkill/rfkill.rc.d | 38 -------------------------------------- core/rfkill/service | 11 ----------- 4 files changed, 70 deletions(-) delete mode 100644 core/rfkill/60-rfkill.rules delete mode 100644 core/rfkill/rfkill.conf.d delete mode 100755 core/rfkill/rfkill.rc.d delete mode 100644 core/rfkill/service (limited to 'core/rfkill') 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 -- cgit v1.2.3-54-g00ecf