summaryrefslogtreecommitdiffstats
path: root/remote/modules/udisks/data/usr
diff options
context:
space:
mode:
authorSimon Rettberg2013-09-03 21:36:58 +0200
committerSimon Rettberg2013-09-03 21:36:58 +0200
commitae7b40545f85245d8325616aa789b726f3cd6756 (patch)
tree3144751176d5f7f74e12f5b2252f7dfe890b6826 /remote/modules/udisks/data/usr
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-ae7b40545f85245d8325616aa789b726f3cd6756.tar.gz
tm-scripts-ae7b40545f85245d8325616aa789b726f3cd6756.tar.xz
tm-scripts-ae7b40545f85245d8325616aa789b726f3cd6756.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;
+ }
+});
+