diff options
| author | Simon Rettberg | 2013-09-03 21:36:58 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-09-03 21:36:58 +0200 |
| commit | ae7b40545f85245d8325616aa789b726f3cd6756 (patch) | |
| tree | 3144751176d5f7f74e12f5b2252f7dfe890b6826 /remote/modules/udisks/data/usr | |
| parent | Merge branch 'master' of simonslx:openslx-ng/tm-scripts (diff) | |
| download | tm-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.rules | 6 |
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; + } +}); + |
