mv ConsoleKit

This commit is contained in:
Ertuğrul Erata
2015-07-04 23:56:27 +03:00
parent 3d9d886b7e
commit 5f3db543f5
9 changed files with 3 additions and 0 deletions
@@ -0,0 +1,8 @@
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.consolekit.system.stop" ||
action.id == "org.freedesktop.consolekit.system.restart" ||
action.id == "org.freedesktop.consolekit.system.hibernate" ||
action.id == "org.freedesktop.consolekit.system.suspend") {
return polkit.Result.YES;
}
});