core-agent-linux/network/qubes-nmhook
2016-10-23 20:19:51 +00:00

14 lines
296 B
Bash
Executable File

#!/bin/sh
# Source Qubes library.
. /usr/lib/qubes/init/functions
/usr/lib/qubes/qubes-setup-dnat-to-ns
# FIXME: Tinyproxy does not reload DNS servers.
if under_systemd ; then
systemctl --no-block try-restart qubes-updates-proxy.service
else
service qubes-updates-proxy try-restart
fi