]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Support /etc/default/pdns-recursor
authorAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 15:18:47 +0000 (18:18 +0300)
committerAki Tuomi <cmouse@desteem.org>
Fri, 24 Apr 2015 15:18:47 +0000 (18:18 +0300)
pdns/pdns-recursor.init.d

index 54c94e5b121960e167e67c7d6343c6be77f9bb50..538e58f1e3b6aa6d39a3ee1685b80327961342fa 100755 (executable)
@@ -18,7 +18,7 @@ pdns_server=$SBINARYPATH/pdns_recursor
 
 [ -f "$pdns_server" ] || exit 0
 
-. /etc/default/pdns-recursor
+[ -r /etc/default/pdns-recursor ] && . /etc/default/pdns-recursor
 
 [ "$START" = "no" ] && exit 0