Skip to content

Commit 6de6603

Browse files
committed
deprecate pihole install script
Signed-off-by: Simon L. <[email protected]>
1 parent 4ed5f4d commit 6de6603

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

not-supported/pi-hole.sh

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ debug_mode
2121
# Check if root
2222
root_check
2323

24+
msg_box "The pi-hole script is unfortunately deprecated as it needs a rewrite since many parts in the upstream pi-hole project changed."
25+
exit 1
26+
2427
# Check if already installed
2528
if ! pihole &>/dev/null
2629
then
@@ -70,6 +73,8 @@ If you press 'yes', we will remove Pi-hole, its settings and all those listed pr
7073
# Make an array from installed applications
7174
read -r -a INSTALLED <<< "$INSTALLED"
7275

76+
# /opt/pihole/uninstall.sh edit file and put setupVars variable setupVars="/etc/pihole/setupVars.conf" at 5th line or something
77+
7378
UNINSTALL="/etc/.pihole/automated install/uninstall.sh"
7479
# Uninstall pihole; we need to modify it, else it is not unattended
7580
if ! [ -f "$UNINSTALL" ] || ! grep -q "######### SCRIPT ###########" "$UNINSTALL" || ! grep -q "removeNoPurge()" "$UNINSTALL"

0 commit comments

Comments
 (0)