summaryrefslogtreecommitdiffstats
path: root/remote/modules/udisks/data/usr
diff options
context:
space:
mode:
authorSimon Rettberg2013-09-03 21:36:58 +0200
committerJonathan Bauer2013-09-30 13:22:04 +0200
commitc1e112c86cd8581bc8147afa772a23f592f40184 (patch)
tree17cf785e51c9056ccc11781730ec6eb40203557e /remote/modules/udisks/data/usr
parent[vbox] udev-rule with ENV-PATH (diff)
downloadtm-scripts-c1e112c86cd8581bc8147afa772a23f592f40184.tar.gz
tm-scripts-c1e112c86cd8581bc8147afa772a23f592f40184.tar.xz
tm-scripts-c1e112c86cd8581bc8147afa772a23f592f40184.zip
Add udisks module
Diffstat (limited to 'remote/modules/udisks/data/usr')
-rw-r--r--remote/modules/udisks/data/usr/share/polkit-1/rules.d/10-drives.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/remote/modules/udisks/data/usr/share/polkit-1/rules.d/10-drives.rules b/remote/modules/udisks/data/usr/share/polkit-1/rules.d/10-drives.rules
new file mode 100644
index 00000000..72c4fb16
--- /dev/null
+++ b/remote/modules/udisks/data/usr/share/polkit-1/rules.d/10-drives.rules
@@ -0,0 +1,6 @@
+polkit.addRule(function(action, subject) {
+ if (action.id.indexOf("org.freedesktop.udisks") == 0) {
+ return polkit.Result.YES;
+ }
+});
+