summaryrefslogtreecommitdiff
path: root/package/pdnsd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
commit0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch)
tree8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/pdnsd
parent845317b460ee99ad633534cad4de72404af7e30b (diff)
fix startup scripts, fix stop routine
Diffstat (limited to 'package/pdnsd')
-rw-r--r--package/pdnsd/files/pdnsd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/pdnsd/files/pdnsd.init b/package/pdnsd/files/pdnsd.init
index b67696469..717e4f352 100644
--- a/package/pdnsd/files/pdnsd.init
+++ b/package/pdnsd/files/pdnsd.init
@@ -16,10 +16,10 @@ start)
touch /var/cache/pdnsd/pdnsd.cache
# this allows for strict_setuid
chown -R nobody:nogroup /var/cache/pdnsd
- pdnsd -d
+ /usr/sbin/pdnsd -d
;;
stop)
- pkill pdnsd
+ kill $(pgrep -f /usr/sbin/pdnsd)
;;
restart)
sh $0 stop