Update config battery_saver restart

beta-v1.3.1.1-hab-3
Alan Johnston 2 years ago committed by GitHub
parent 0ea5b65980
commit 3559a954a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -98,10 +98,11 @@ elif [ "$1" = "-a" ]; then
# sudo sed -i ':a;N;$!ba;s/\nforce_turbo=1//g' /boot/config.txt # sudo sed -i ':a;N;$!ba;s/\nforce_turbo=1//g' /boot/config.txt
fi fi
echo "rebooting" # echo "rebooting"
sudo reboot now # sudo reboot now
# sudo systemctl restart cubesatsim sudo systemctl restart cubesatsim
exit exit
elif [ "$1" = "-m" ]; then elif [ "$1" = "-m" ]; then
echo "changing CubeSatSim to CW mode" echo "changing CubeSatSim to CW mode"
sudo echo "m" > /home/pi/CubeSatSim/.mode sudo echo "m" > /home/pi/CubeSatSim/.mode

Loading…
Cancel
Save

Powered by TurnKey Linux.