summaryrefslogtreecommitdiff
path: root/policy/org.freedesktop.hal.killswitch.policy
diff options
context:
space:
mode:
Diffstat (limited to 'policy/org.freedesktop.hal.killswitch.policy')
-rw-r--r--policy/org.freedesktop.hal.killswitch.policy46
1 files changed, 46 insertions, 0 deletions
diff --git a/policy/org.freedesktop.hal.killswitch.policy b/policy/org.freedesktop.hal.killswitch.policy
new file mode 100644
index 00000000..713bb0d4
--- /dev/null
+++ b/policy/org.freedesktop.hal.killswitch.policy
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+
+<!--
+Policy definitions for HAL's RF kill switch mechanism
+
+Copyright (c) 2007 David Zeuthen <david@fubar.dk>
+
+HAL is licensed to you under your choice of the the Academic Free
+License Version 2.1, or the GNU General Public License version 2. Some
+individual source files may be under the GPL only. See COPYING for
+details.
+-->
+
+<policyconfig>
+
+ <action id="org.freedesktop.hal.killswitch.bluetooth">
+ <description>Turn Bluetooth radio On/Off</description>
+ <message>System policy prevents turning the Bluetooth radio On/Off</message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.freedesktop.hal.killswitch.wlan">
+ <description>Turn WLAN radio On/Off</description>
+ <message>System policy prevents turning the WLAN radio On/Off</message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.freedesktop.hal.killswitch.wwan">
+ <description>Turn WWAN radio On/Off</description>
+ <message>System policy prevents turning the WWAN radio On/Off</message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+</policyconfig>