mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-27 16:43:16 +00:00
14 lines
299 B
Bash
14 lines
299 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
# Source utils.sh for getFTLPIDFile()
|
||
|
PI_HOLE_SCRIPT_DIR='/opt/pihole'
|
||
|
utilsfile="${PI_HOLE_SCRIPT_DIR}/utils.sh"
|
||
|
# shellcheck disable=SC1090
|
||
|
. "${utilsfile}"
|
||
|
|
||
|
# Get file paths
|
||
|
FTL_PID_FILE="$(getFTLPIDFile)"
|
||
|
|
||
|
# Cleanup
|
||
|
rm -f /run/pihole/FTL.sock /dev/shm/FTL-* "${FTL_PID_FILE}"
|