March 2017
Beginner to intermediate
422 pages
8h 4m
English
If you take your Raspberry Pi Zero with you a lot, unplug it at night, or reboot often, you don't want to have to start services and programs manually every single time. Linux has a rich set of tools that control what services start up when the Raspberry Pi does.
We're going to make a copy of our temperature script and add a little bit to it. First, make a copy as a new script, called rpz_startup.sh. We'll use the cp command we learned in an earlier recipe:
pi@rpz14101:~/share/ch3 $ cp rpz_temp.sh rpz_start.sh
rpz_startup.log file in /var/log/. The Read now
Unlock full access