| 1 | #!/bin/sh |
| 2 | # |
| 3 | # /usr/lib/resolvconf/dpkg-event.d/unbound |
| 4 | # |
| 5 | # Resolvconf packaging event hook script for the unbound package |
| 6 | # |
| 7 | |
| 8 | HELPER="/usr/libexec/unbound-helper" |
| 9 | |
| 10 | if invoke-rc.d unbound status 1>/dev/null 2>&1; then |
| 11 | if [ "$1" = "install" ]; then |
| 12 | test -x "$HELPER" && "$HELPER" resolvconf_start |
| 13 | fi |
| 14 | fi |