From 807b63b1428832aaa43593cac3d400cfc26e9a0c Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 8 Nov 2020 10:44:33 -0500 Subject: [PATCH] added mode cycling --- demo.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/demo.sh b/demo.sh index bf29c4ce..497cf461 100755 --- a/demo.sh +++ b/demo.sh @@ -2,7 +2,11 @@ echo -e "\nDemo of CubeSatSim at 434.9 MHz\n" -sleep 10 +y=$(last reboot | grep ^reboot | wc -l) +echo $y + +if [ "$1" = "c" ]; then + echo "Mode cycling" sudo systemctl restart rpitx