summaryrefslogtreecommitdiffstats
path: root/main/djbdns/dnscache.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/djbdns/dnscache.initd')
-rwxr-xr-xmain/djbdns/dnscache.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/djbdns/dnscache.initd b/main/djbdns/dnscache.initd
index 2b6f13779..486f37ef3 100755
--- a/main/djbdns/dnscache.initd
+++ b/main/djbdns/dnscache.initd
@@ -9,6 +9,7 @@ PIDFILE=/var/run/dnscache.pid
depend() {
need net
+ provide dns
}
#-----------------------------------------------------------------
@@ -28,7 +29,7 @@ start() {
--env "ROOT=$ROOT" --env "IP=$IP" --env "IPSEND=$IPSEND" \
--env "HIDETTL=$HIDETTL" --env "CACHESIZE=$CACHESIZE" \
--env "FORWARDONLY=$FORWARDONLY" --pidfile $PIDFILE \
- --background --make-pidfile --exec $DAEMON
+ --background --make-pidfile --exec $DAEMON -- < /dev/urandom
eend $?
}