From a9e14924f3137124308d36534d0f8324f2138e56 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 9 Aug 2026 13:41:36 -0400 Subject: [PATCH] Update install to create hotspot.ini if not present --- install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install b/install index 5ae4eb80..42eedde5 100755 --- a/install +++ b/install @@ -51,14 +51,18 @@ else echo "434900000 435000000" > frequency.txt - cp /home/pi/CubeSatSim/hotspot_ini /home/pi/CubeSatSim/hotspot.ini - /home/pi/CubeSatSim/config -c -n /home/pi/CubeSatSim/config -l -n fi +FILE=/home/pi/CubeSatSim/hotspot.ini +if [ ! -f "$FILE" ]; then + echo "Creating hotspot.ini configuration file. You can edit it to change Wi-Fi hotspot options" + cp /home/pi/CubeSatSim/hotspot_ini /home/pi/CubeSatSim/hotspot.ini +fi + if [[ $(grep '11.' /etc/debian_version) ]]; then BULLSEYE=1