mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
15 lines
191 B
Bash
15 lines
191 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$1" = "remove" ]; then
|
|
if [ -x /usr/sbin/invoke-rc.d ] ; then
|
|
invoke-rc.d dnsmasq stop || true
|
|
else
|
|
/etc/init.d/dnsmasq stop || true
|
|
fi
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|