From 432fbddd36a3852eb55dae7c1b0090f293099d16 Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Thu, 25 Jan 2024 14:39:26 +0100 Subject: [PATCH] add hostname to default hotspot ssid --- installation/routines/customize_options.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installation/routines/customize_options.sh b/installation/routines/customize_options.sh index 7dbccb2c2..64d5b44cf 100644 --- a/installation/routines/customize_options.sh +++ b/installation/routines/customize_options.sh @@ -72,6 +72,11 @@ Do you want to enable an Autohotspot? [y/N]" esac if [ "$ENABLE_AUTOHOTSPOT" = true ]; then + #add hostname to default SSID to prevent collision + local local_hostname=$(hostname) + AUTOHOTSPOT_SSID="${AUTOHOTSPOT_SSID}_${local_hostname}" + AUTOHOTSPOT_SSID="${AUTOHOTSPOT_SSID:0:32}" + local response_autohotspot while [[ $response_autohotspot != "n" ]] do