blob: a7512edced387f4b1228e9f86a7512b35d60ffdb [file] [log] [blame]
Simon Kelleyc72daea2012-01-05 21:33:27 +00001#!/bin/sh
2# Resolvconf packaging event hook script for the dnsmasq package
3restart_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
11case "$1" in
12 install) restart_dnsmasq ;;
13esac