melawy-archiso-config/Melawy-Linux-Developer-Edition/airootfs/etc/polkit-1/rules.d/10-timedate.rules

12 lines
455 B
Plaintext
Raw Permalink Normal View History

2024-07-19 21:52:47 +05:00
/* /etc/polkit-1/rules.d/10-timedate.rules
*/
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.timedate1.set-time" ||
action.id == "org.freedesktop.timedate1.set-timezone" ||
action.id == "org.freedesktop.timedate1.set-ntp" ||
action.id == "org.freedesktop.hostname1.set-hostname" ||
action.id == "org.freedesktop.hostname1.get-product-uuid")) {
return polkit.Result.YES;
}
});