Permalink
Browse files

Support default directory on debian/ubuntu

  • Loading branch information...
1 parent ba4d623 commit 28ba3fceea397a5400d0c3013e8a72c1f672358d @cmouse cmouse committed with cmouse Apr 24, 2015
Showing with 4 additions and 0 deletions.
  1. +4 −0 pdns/pdns-recursor.init.d
@@ -18,6 +18,10 @@ pdns_server=$SBINARYPATH/pdns_recursor
[ -f "$pdns_server" ] || exit 0
+. /etc/default/pdns-recursor
+
+[ "$START" = "no" ] && exit 0
+
doPC()
{
ret=`$BINARYPATH/rec_control $EXTRAOPTS $1 $2 2> /dev/null`

0 comments on commit 28ba3fc

Please sign in to comment.