Difference between revisions of "Manjaro Polkit Rules/ru"

Created page with "polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.login1.power-off" || action.id == "org.freedesktop.login1.reboot" || action..."
(Created page with "polkit.addRule(function(action, subject) { if (action.id.indexOf("org.freedesktop.udisks2.") == 0 && subject.isInGroup("wheel")) { return polkit.Result.YES;...")
(Created page with "polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.login1.power-off" || action.id == "org.freedesktop.login1.reboot" || action...")
Line 34: Line 34:
  });
  });
   
   
The third rule allows the upower daemon to hibernate or suspend the system
Третье правило позволяет демону upower переводить систему в спящий режим или приостанавливать ее работу


  polkit.addRule(function(action, subject) {
  polkit.addRule(function(action, subject) {
translator
11,127

edits