Use PI_HOLE_BIN_DIR as introduced in PR #2886

Signed-off-by: Thomas L. Kjeldsen <tlk@closureconsulting.com>
This commit is contained in:
Thomas L. Kjeldsen 2020-05-30 02:38:22 +02:00
parent 852f6b95f5
commit 005da06b3d

View file

@ -12,5 +12,7 @@
# This file is copyright under the latest version of the EUPL.
# Please see LICENSE file for your rights under this license.
readonly PI_HOLE_BIN_DIR="/usr/local/bin"
sleep "${1}"
pihole enable
"${PI_HOLE_BIN_DIR}"/pihole enable