Merge branch 'dev' into feature/killswitch-strict-mode

This commit is contained in:
Mykola Baibuz 2024-12-31 14:15:51 +02:00
commit d65273e43e
112 changed files with 4048 additions and 3704 deletions

View file

@ -162,11 +162,11 @@ void RouterLinux::flushDns()
|| QFileInfo::exists("/usr/sbin/nscd")
|| QFileInfo::exists("/usr/lib/systemd/system/nscd.service"))
{
p.start("systemctl restart nscd");
p.start("systemctl", { "restart", "nscd" });
}
else
{
p.start("systemctl restart systemd-resolved");
p.start("systemctl", { "restart", "systemd-resolved" });
}
p.waitForFinished();