mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-27 07:12:27 +00:00
Fix ARP flush command
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
03932e8ca7
commit
11e00e04b5
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ flushARP(){
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Stop FTL to prevent database access
|
# Stop FTL to prevent database access
|
||||||
if ! output=$(pihole-FTL service stop 2>&1); then
|
if ! output=$(service pihole-FTL stop 2>&1); then
|
||||||
echo -e "${OVER} ${CROSS} Failed to stop FTL"
|
echo -e "${OVER} ${CROSS} Failed to stop FTL"
|
||||||
echo " Output: ${output}"
|
echo " Output: ${output}"
|
||||||
return 1
|
return 1
|
||||||
|
@ -64,7 +64,7 @@ flushARP(){
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Start FTL again
|
# Start FTL again
|
||||||
if ! output=$(pihole-FTL service restart 2>&1); then
|
if ! output=$(service pihole-FTL restart 2>&1); then
|
||||||
echo -e "${OVER} ${CROSS} Failed to restart FTL"
|
echo -e "${OVER} ${CROSS} Failed to restart FTL"
|
||||||
echo " Output: ${output}"
|
echo " Output: ${output}"
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue