From cfbdd358ccb2b0bcb69ec02b0aa49f1601274476 Mon Sep 17 00:00:00 2001 From: Florian Helmschmidt Date: Thu, 3 Mar 2022 12:25:28 +0000 Subject: [PATCH] Fix syntax error generation in pihole-install.sh (#2251) Signed-off-by: szaimen --- not-supported/pi-hole.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/not-supported/pi-hole.sh b/not-supported/pi-hole.sh index 44dd3e48..8b80af77 100644 --- a/not-supported/pi-hole.sh +++ b/not-supported/pi-hole.sh @@ -183,10 +183,10 @@ Please report this to $ISSUES" fi # Continue with the process -sed -i 's|displayFinalMessage "${pw}"|echo pw|' "$SCRIPTS"/pihole-install.sh # We don't want to display the final message -sed -i "s|setAdminFlag$|# setAdminFlag|" "$SCRIPTS"/pihole-install.sh # We want to install the web-interface and lighttpd -sed -i "s|chooseInterface$|# chooseInterface|" "$SCRIPTS"/pihole-install.sh # We don't want the user choose the interface -sed -i "s|getStaticIPv4Settings$|# getStaticIPv4Settings|" "$SCRIPTS"/pihole-install.sh # We don't want to set a static ip4 +sed -i 's|displayFinalMessage "${pw}"|echo displayFinalMessage|' "$SCRIPTS"/pihole-install.sh # We don't want to display the final message +sed -i "s|setAdminFlag$|echo setAdminFlag|" "$SCRIPTS"/pihole-install.sh # We want to install the web-interface and lighttpd +sed -i "s|chooseInterface$|echo chooseInterface|" "$SCRIPTS"/pihole-install.sh # We don't want the user choose the interface +sed -i "s|getStaticIPv4Settings$|echo getStaticIPv4Settings|" "$SCRIPTS"/pihole-install.sh # We don't want to set a static ip4 # Export default values PIHOLE_INTERFACE="$IFACE"