From 6c06327c13d375a673ba4ce6f458d94ff8ea6975 Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Mon, 15 Apr 2024 15:47:29 +0200 Subject: [PATCH] Revert "fix: escape vars for adding network" This reverts commit 9d2a334ca7eddd702c0bb452a64d1cbff0b598ab. --- scripts/installscripts/install-jukebox.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/installscripts/install-jukebox.sh b/scripts/installscripts/install-jukebox.sh index d227845db..65bfd145c 100644 --- a/scripts/installscripts/install-jukebox.sh +++ b/scripts/installscripts/install-jukebox.sh @@ -1154,7 +1154,7 @@ wifi_settings() { sudo chmod 664 "${wpa_supplicant_conf}" # add network with high priority - add_wireless_network "$(_escape_for_shell "$WIFI_INTERFACE")" "$(_escape_for_shell "$WIFIssid")" "$(_escape_for_shell "$WIFIpass")" 99 + add_wireless_network "$WIFI_INTERFACE" "$WIFIssid" "$WIFIpass" 99 # DHCP configuration settings local dhcpcd_conf="/etc/dhcpcd.conf" @@ -1174,7 +1174,7 @@ wifi_settings() { if [[ $(is_NetworkManager_enabled) == true ]]; then echo "... for NetworkManager" # add network with high priority - add_wireless_network "$(_escape_for_shell "$WIFI_INTERFACE")" "$(_escape_for_shell "$WIFIssid")" "$(_escape_for_shell "$WIFIpass")" 99 + add_wireless_network "$WIFI_INTERFACE" "$WIFIssid" "$WIFIpass" 99 sudo nmcli connection modify "$WIFIssid" ipv4.method manual ipv4.address "$WIFIip"/24 ipv4.gateway "$WIFIipRouter" ipv4.dns "$WIFIipRouter $wifiExtDNS" fi