Skip to content

Commit

Permalink
Update config if -B changed in FSK BPSK restart
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbjohnston authored Mar 6, 2024
1 parent affb058 commit 2fb3b02
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -523,11 +523,13 @@ elif [ "$1" = "-B" ]; then
echo "$value" > /dev/null
set -- $value

# if [ "$1" = "a" ] || [ "$1" = "s" ] || [ "$1" = "m" ] ; then
if [ "$1" = "a" ] || [ "$1" = "s" ] || [ "$1" = "m" ] ; then
echo "rebooting"
# sudo systemctl restart cubesatsim
sudo reboot now
# fi
sudo reboot now
else
echo "restarting"
sudo systemctl restart cubesatsim
fi
fi

elif [ "$1" = "-q" ]; then
Expand Down

0 comments on commit 2fb3b02

Please sign in to comment.