Skip to content

Commit

Permalink
add hostname to default hotspot ssid
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Jan 26, 2024
1 parent beb9159 commit 432fbdd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions installation/routines/customize_options.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 432fbdd

Please sign in to comment.