summaryrefslogtreecommitdiff
path: root/policy/org.freedesktop.hal.killswitch.policy
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2008-03-03 21:07:38 -0500
committerDavid Zeuthen <davidz@redhat.com>2008-03-03 21:07:38 -0500
commitb6e8d3c14b0c59ed6b7a0a460b261f1acf0f1633 (patch)
tree450792718833d622b71ed75dd6ee13870f561b4e /policy/org.freedesktop.hal.killswitch.policy
parentdb415dc5b771added0451f518ba3b714f004113e (diff)
fix warnings from polkit-policy-file-validate when using PolicyKit HEAD
See this commit for details http://gitweb.freedesktop.org/?p=PolicyKit.git;a=commitdiff;h=2b1a2a69f6366534609a0671f3f2e92369cb3fa1
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>