1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 06:08:21 +00:00

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