Thomas Hood wrote: > I now remember that we aren't supposed to assume that invoke-rc.d > is present. Here's a new version of the script. // Thomas > > #!/bin/sh > # Resolvconf packaging event hook script for the dnsmasq package > > restart_dnsmasq() { > if which invoke-rc.d >/dev/null 2>&1 ; then > invoke-rc.d dnsmasq restart > elif [ -x /etc/init.d/dnsmasq ] ; then > /etc/init.d/dnsmasq restart > fi > } > > case "$1" in > install) restart_dnsmasq ;; > esac > > >
ACK. I'm surprised that invoke-rc.d isn't universal now, but if the rules is there, we must obey..... Simon. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org