summaryrefslogtreecommitdiffstats
path: root/mDNSResponder/mDNSPosix/mdnsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mDNSResponder/mDNSPosix/mdnsd.sh')
-rw-r--r--mDNSResponder/mDNSPosix/mdnsd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mDNSResponder/mDNSPosix/mdnsd.sh b/mDNSResponder/mDNSPosix/mdnsd.sh
index c43d9fcb..6e65612b 100644
--- a/mDNSResponder/mDNSPosix/mdnsd.sh
+++ b/mDNSResponder/mDNSPosix/mdnsd.sh
@@ -40,6 +40,7 @@ if [ -r /sbin/start-stop-daemon ]; then
else
killmdnsd() {
kill -TERM `cat /var/run/mdnsd.pid`
+ sleep 1
}
START=
STOP=killmdnsd
@@ -60,7 +61,6 @@ case "$1" in
reload|restart|force-reload)
echo -n "Restarting Apple Darwin Multicast DNS / DNS Service Discovery daemon:"
$STOP $DAEMON
- sleep 1
$START $DAEMON
echo -n " mdnsd"
;;