From 86f4c2a21c008d8bc7e5e10dde8b047665f60199 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 9 Aug 2026 16:45:28 -0400 Subject: [PATCH] Update install create hotspot.ini file if not there --- install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install b/install index de70a2b2..20e0e7af 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