diff options
author | freaj <freaj@riseup.net> | 2015-03-25 19:14:34 +0100 |
---|---|---|
committer | freaj <freaj@riseup.net> | 2015-03-25 19:14:34 +0100 |
commit | 3d9ee3d1faab8fea2cdf06bc766106fe1479ed3c (patch) | |
tree | 937f6fbc969605bcb7737c376c6867f5dc75e830 /pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules | |
parent | 00ff0f8a71674190bfdb20b081c5d2289557e882 (diff) | |
download | abslibre-3d9ee3d1faab8fea2cdf06bc766106fe1479ed3c.tar.gz abslibre-3d9ee3d1faab8fea2cdf06bc766106fe1479ed3c.tar.bz2 abslibre-3d9ee3d1faab8fea2cdf06bc766106fe1479ed3c.zip |
consolekit-0.9.2-4: add new package to [pcr]
Diffstat (limited to 'pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules')
-rw-r--r-- | pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules b/pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules new file mode 100644 index 000000000..ef002c904 --- /dev/null +++ b/pcr/consolekit/01-org.freedesktop.NetworkManager.settings.modify.system.rules @@ -0,0 +1,6 @@ +polkit.addRule(function(action, subject) { + if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" && + subject.isInGroup("network") && subject.active) { + return "yes"; + } +}); |