Skip to content

Commit c1a2f5c

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

not-supported/pi-hole.sh

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ 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+
Feel free to subscribe to https://github.com/szaimen/Nextcloud-NAS-Guide/issues/133 in the meantime."
26+
exit 1
27+
2428
# Check if already installed
2529
if ! pihole &>/dev/null
2630
then
@@ -70,6 +74,8 @@ If you press 'yes', we will remove Pi-hole, its settings and all those listed pr
7074
# Make an array from installed applications
7175
read -r -a INSTALLED <<< "$INSTALLED"
7276

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

0 commit comments

Comments
 (0)