diff options
| author | Simon Rettberg | 2013-09-03 21:36:58 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-09-03 21:36:58 +0200 |
| commit | cd6ad7ff3b1ba04429fb675f460ec48e3c36e116 (patch) | |
| tree | e09216ef246d3ee42ad20c3f2352cbc939c1fd66 /remote/modules/udisks/data/usr/share | |
| parent | Merge branch 'master' of simonslx:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-cd6ad7ff3b1ba04429fb675f460ec48e3c36e116.tar.gz tm-scripts-cd6ad7ff3b1ba04429fb675f460ec48e3c36e116.tar.xz tm-scripts-cd6ad7ff3b1ba04429fb675f460ec48e3c36e116.zip | |
Add udisks module
Diffstat (limited to 'remote/modules/udisks/data/usr/share')
| -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; + } +}); + |
