From 9d32d83161b762aa96161b9503c99cc6eb0756c6 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 23 Aug 2021 19:23:49 -0400 Subject: [PATCH] reversed if --- groundstation/fox-startup.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/groundstation/fox-startup.sh b/groundstation/fox-startup.sh index 0980cadb..cb035116 100755 --- a/groundstation/fox-startup.sh +++ b/groundstation/fox-startup.sh @@ -8,11 +8,8 @@ echo sudo killall -9 FoxTelem &>/dev/null FILE=/home/pi/FoxTelemetryData/.foxprofile -if [ ! -f "$FILE" ]; then - - exit - -fi +#if [ ! -f "$FILE" ]; then +if [ -f "$FILE" ]; then value=`cat /home/pi/FoxTelemetryData/.foxprofile` echo "$value" > /dev/null @@ -37,4 +34,6 @@ fi sleep 10 +fi + #$SHELL