@ -38,10 +38,11 @@ if [ $FLAG -eq 1 ]; then
echo "systemctl daemon-reload"
sudo systemctl daemon-reload
else
grep 'changed' /home/pi/CubeSatSim/.updated
if [[ $(grep 'changed' /home/pi/CubeSatSim/.updated) ]]; then
echo "nothing to do"
echo "systemctl restart cubesatsim"
sudo systemctl restart cubesatsim
fi
Powered by TurnKey Linux.