Debian Codegraph @

debian/resolvconf-package

raw
1 #!/bin/sh
2 # Resolvconf packaging event hook script for the dnsmasq package
3 restart_dnsmasq() {
4 if which invoke-rc.d >/dev/null 2>&1 ; then
5 invoke-rc.d dnsmasq restart
6 elif [ -x /etc/init.d/dnsmasq ] ; then
7 /etc/init.d/dnsmasq restart
8 fi
9 }
10
11 case "$1" in
12 install) restart_dnsmasq ;;
13 esac