File: resolvconf-package

package info (click to toggle)
unbound 1.6.0-2~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 20,444 kB
  • sloc: ansic: 79,862; sh: 5,040; yacc: 1,900; makefile: 1,315; python: 1,302; perl: 141
file content (14 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# /usr/lib/resolvconf/dpkg-event.d/unbound
#
# Resolvconf packaging event hook script for the unbound package
#

HELPER="/usr/lib/unbound/package-helper"

if invoke-rc.d unbound status 1>/dev/null 2>&1; then
    if [ "$1" = "install" ]; then
        test -x "$HELPER" && "$HELPER" resolvconf_start
    fi
fi