mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
replace code i missed during merge
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
0971630e01
commit
f35ea9a3ca
1 changed files with 5 additions and 1 deletions
|
@ -88,7 +88,7 @@ removeAndPurge() {
|
|||
done
|
||||
else
|
||||
echo -e " ${INFO} Package ${i} not installed"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dnsmasq config files
|
||||
|
@ -154,6 +154,10 @@ removeNoPurge() {
|
|||
|
||||
# Remove FTL
|
||||
if command -v pihole-FTL &> /dev/null; then
|
||||
if [[ -e /etc/systemd/resolved.conf.orig ]]; then
|
||||
${SUDO} cp /etc/systemd/resolved.conf.orig /etc/systemd/resolved.conf
|
||||
systemctl reload-or-restart systemd-resolved
|
||||
fi
|
||||
echo -ne " ${INFO} Removing pihole-FTL..."
|
||||
if [[ -x "$(command -v systemctl)" ]]; then
|
||||
systemctl stop pihole-FTL
|
||||
|
|
Loading…
Reference in a new issue