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

12 lines
455 B
Plaintext

/* /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;
}
});