| 1 | #!/bin/shscip-shell filesystem . . `/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-helperscip-shell filesystem . . `/usr/libexec/unbound-helper`." |
| 9 | |
| 10 | if invoke-rc.dscip-shell system . . `invoke-rc.d`. unbound status 1>/dev/nullscip-shell filesystem . . `/dev/null`. 2>&1; then |
| 11 | if [scip-shell system . . `[`. "$1" = "install" ]; then |
| 12 | testscip-shell system . . test. -x "$HELPER" && "$HELPER" resolvconf_start |
| 13 | fi |
| 14 | fi |