mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Don't try to start pihole-FTL after it has been installed. This will be done a few moments later when gravity is invoked.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
9c0de0f731
commit
e8dabc71af
1 changed files with 0 additions and 5 deletions
|
@ -2186,11 +2186,6 @@ FTLinstall() {
|
||||||
# Install the new version with the correct permissions
|
# Install the new version with the correct permissions
|
||||||
install -T -m 0755 "${binary}" /usr/bin/pihole-FTL
|
install -T -m 0755 "${binary}" /usr/bin/pihole-FTL
|
||||||
|
|
||||||
# Start pihole-FTL service if available
|
|
||||||
# Allow failing without tripping set -e as the
|
|
||||||
# service might not be available (e.g. on first install)
|
|
||||||
service pihole-FTL restart > /dev/null 2>&1 || true
|
|
||||||
|
|
||||||
# Move back into the original directory the user was in
|
# Move back into the original directory the user was in
|
||||||
popd > /dev/null || { printf "Unable to return to original directory after FTL binary download.\\n"; return 1; }
|
popd > /dev/null || { printf "Unable to return to original directory after FTL binary download.\\n"; return 1; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue