3 [ -f /etc/dnsmasq.conf ] || exit 0
7 printf "Starting dnsmasq: "
8 start-stop-daemon -S -x /usr/sbin/dnsmasq
9 [ $? = 0 ] && echo "OK" || echo "FAIL"
12 printf "Stopping dnsmasq: "
13 start-stop-daemon -K -q -x /usr/sbin/dnsmasq
14 [ $? = 0 ] && echo "OK" || echo "FAIL"
21 echo "Usage: $0 {start|stop|restart}"