Skip to content

Commit

Permalink
Update service calls patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklul committed Dec 8, 2024
1 parent b3815fd commit 7241335
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions patches/core-002-replace-service-calls.patch
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,25 @@ index 34d96318..54dc7fe5 100755
if [[ "$*" != *"quiet"* ]]; then
echo -e "${OVER} ${TICK} Deleted ${deleted} queries from long-term query database"
fi
diff --git a/advanced/Scripts/piholeARPTable.sh b/advanced/Scripts/piholeARPTable.sh
index f55b1320..64561645 100755
--- a/advanced/Scripts/piholeARPTable.sh
+++ b/advanced/Scripts/piholeARPTable.sh
@@ -32,7 +32,7 @@ flushARP(){
fi

# Stop FTL to prevent database access
- if ! output=$(service pihole-FTL stop 2>&1); then
+ if ! output=$(/opt/etc/init.d/S55pihole-FTL pihole-FTL stop 2>&1); then
echo -e "${OVER} ${CROSS} Failed to stop FTL"
echo " Output: ${output}"
return 1
@@ -64,7 +64,7 @@ flushARP(){
fi

# Start FTL again
- if ! output=$(service pihole-FTL restart 2>&1); then
+ if ! output=$(/opt/etc/init.d/S55pihole-FTL pihole-FTL restart 2>&1); then
echo -e "${OVER} ${CROSS} Failed to restart FTL"
echo " Output: ${output}"
return 1

0 comments on commit 7241335

Please sign in to comment.