require pdns.conf in order to run any scripts
This commit is contained in:
parent
cbe042381c
commit
29cdd5d0eb
|
@ -19,6 +19,9 @@ fi
|
||||||
# Any of the other constants below can be overriden in the local config.
|
# Any of the other constants below can be overriden in the local config.
|
||||||
if [[ -f /usr/local/etc/pdns.conf ]]; then
|
if [[ -f /usr/local/etc/pdns.conf ]]; then
|
||||||
source /usr/local/etc/pdns.conf
|
source /usr/local/etc/pdns.conf
|
||||||
|
else
|
||||||
|
echo "ERROR: Local config missing. You need to install and configure /usr/local/etc/pdns.conf"
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# constants
|
# constants
|
||||||
|
|
Loading…
Reference in New Issue
Block a user