qubes-nmhook 296 B

12345678910111213
  1. #!/bin/sh
  2. # Source Qubes library.
  3. . /usr/lib/qubes/init/functions
  4. /usr/lib/qubes/qubes-setup-dnat-to-ns
  5. # FIXME: Tinyproxy does not reload DNS servers.
  6. if under_systemd ; then
  7. systemctl --no-block try-restart qubes-updates-proxy.service
  8. else
  9. service qubes-updates-proxy try-restart
  10. fi