qubes-nmhook 253 B

123456789
  1. #!/bin/sh
  2. /usr/lib/qubes/qubes-setup-dnat-to-ns
  3. # Tinyproxy does not reload DNS servers
  4. if [ -x /bin/systemctl ]; then
  5. /bin/systemctl --no-block try-restart qubes-updates-proxy.service
  6. else
  7. /usr/sbin/service qubes-updates-proxy try-restart
  8. fi