summaryrefslogtreecommitdiffstats
path: root/main/djbdns/dnscache.monthly
diff options
context:
space:
mode:
Diffstat (limited to 'main/djbdns/dnscache.monthly')
-rwxr-xr-xmain/djbdns/dnscache.monthly4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/djbdns/dnscache.monthly b/main/djbdns/dnscache.monthly
index 0bd5a853..4e53fd6f 100755
--- a/main/djbdns/dnscache.monthly
+++ b/main/djbdns/dnscache.monthly
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ -f ./etc/conf.d/dnscache ]; then
+if [ -f /etc/conf.d/dnscache ]; then
. /etc/conf.d/dnscache
fi
@@ -42,7 +42,7 @@ for ZONEFILE in $ZONES; do
done
if [ "$NEEDRESTART" ] && /etc/init.d/dnscache --quiet status; then
- /etc/init.d/dnscache restart
+ /etc/init.d/dnscache --quiet restart
fi
exit 0