parent
2859f223b6
commit
3a4c95ebba
@ -1,14 +1,16 @@
|
|||||||
To make the CubeSat Simulator transmit automatically on boot, follow these steps, which were derived from https://www.raspberrypi.org/documentation/linux/usage/systemd.md
|
To make the CubeSat Simulator transmit automatically on boot, follow these steps, which were derived from https://www.raspberrypi.org/documentation/linux/usage/systemd.md
|
||||||
|
|
||||||
|
|
||||||
On the Pi, if you are not already in this directory:
|
Log into the Pi and type:
|
||||||
|
|
||||||
cd systemd
|
|
||||||
|
|
||||||
sudo cp ~/CubeSatSim/cubesatsim.service /etc/systemd/system/cubesatsim.service
|
sudo cp ~/CubeSatSim/cubesatsim.service /etc/systemd/system/cubesatsim.service
|
||||||
|
|
||||||
sudo systemctl service enable cubesatsim
|
sudo systemctl service enable cubesatsim
|
||||||
|
|
||||||
Now after a reboot (sudo reboot now), the demo.sh script will run automatically, and the console will log to ~/CubeSatSim/log.txt To see it:
|
Reboot to start the autoboot service:
|
||||||
|
|
||||||
|
sudo reboot now
|
||||||
|
|
||||||
|
Now after the Pi starts up, the demo.sh script will run automatically, and the console will log to ~/CubeSatSim/log.txt To see it:
|
||||||
|
|
||||||
tail ~/CubeSatSim/log.txt
|
tail ~/CubeSatSim/log.txt
|
||||||
|
|||||||
Loading…
Reference in new issue