|
|
|
|
@ -350,7 +350,7 @@ if [ "$1" = "" ]; then
|
|
|
|
|
|
|
|
|
|
elif [ "$1" = "-i" ]; then
|
|
|
|
|
|
|
|
|
|
reboot=1
|
|
|
|
|
restart=1
|
|
|
|
|
|
|
|
|
|
elif [ "$1" = "-a" ]; then
|
|
|
|
|
|
|
|
|
|
@ -807,8 +807,9 @@ elif [ "$1" = "-d" ]; then
|
|
|
|
|
# reboot=1
|
|
|
|
|
sudo systemctl restart command
|
|
|
|
|
if [[ $(arecord -l | grep card) ]]; then
|
|
|
|
|
echo "restarting cubesatsim software"
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
restart=1
|
|
|
|
|
### echo "restarting cubesatsim software"
|
|
|
|
|
### sudo systemctl restart cubesatsim
|
|
|
|
|
fi
|
|
|
|
|
## sudo reboot now
|
|
|
|
|
fi
|
|
|
|
|
|