Add resolved service and DNS server

This commit is contained in:
世界
2025-07-08 13:14:41 +08:00
parent e2440a569e
commit 6ee3117755
32 changed files with 1550 additions and 58 deletions
+8
View File
@@ -0,0 +1,8 @@
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.resolve1.set-domains" ||
action.id == "org.freedesktop.resolve1.set-default-route" ||
action.id == "org.freedesktop.resolve1.set-dns-servers") &&
subject.user == "sing-box") {
return polkit.Result.YES;
}
});