Add resolved service and DNS server

This commit is contained in:
世界
2025-05-24 08:22:54 +08:00
parent f91cbc0e42
commit 4b1a283bbf
32 changed files with 1552 additions and 60 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;
}
});