Skip to content
Snippets Groups Projects
10-local-timedate.rules 332 B
Newer Older
polkit.addRule(function(action, subject)) {
    if (action == "org.freedesktop.timedate1.set-time" ||
        action == "org.freedesktop.timedate1.set-timezone" ||
        action == "org.freedesktop.timedate1.set-local-rtc" ||
        action == "org.freedesktop.timedate1.set-ntp")
    {
        return polkit.Result.YES;
    }
});