Skip to content

Commit 28ba3fc

Browse files
committed
Support default directory on debian/ubuntu
1 parent ba4d623 commit 28ba3fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pdns/pdns-recursor.init.d

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ pdns_server=$SBINARYPATH/pdns_recursor
1818

1919
[ -f "$pdns_server" ] || exit 0
2020

21+
. /etc/default/pdns-recursor
22+
23+
[ "$START" = "no" ] && exit 0
24+
2125
doPC()
2226
{
2327
ret=`$BINARYPATH/rec_control $EXTRAOPTS $1 $2 2> /dev/null`

0 commit comments

Comments
 (0)