14
Software Installation
After mounting Zero2Go on your Raspberry Pi, you can tap on the button to turn your
Raspberry Pi on. However, without installing the software, you can only hold the
button for several seconds to force the power cut, which is not recommended.
How the Zero2Go software works? The software will run in the background after boot,
and listen to your button input (via GPIO-4). It will initiate a shutdown command once
you tap on the button. After the system gets shutdown, the TXD pin will go LOW
permanently, and Zero2Go will then fully cut the power.
Zero2Go’s software is a subset of the software for
Witty Pi
. So if you have installed
Witty Pi’s software on your Raspberry Pi, you don’t need to install Zero2Go’s software
and it will work just out of the box.
To install Zero2Go’s software, please run this command in your home directory:
If your Raspberry Pi has internet connection, it will immediately download the script
from our website, and you will then see the
“installZero2Go.sh” script in your home
directory. Then you just need to this script with with sudo:
Please notice that
sudo
is necessary to run this script. This script will copy a file to
“/etc/init.d/zero2go”, and register it to run after boot.
pi@raspberrypi
~ $
wget http://www.uugear.com/repo/Zero2Go/installZero2Go.sh
pi@raspberrypi
~ $
sudo sh installZero2Go.sh
Summary of Contents for Zero2Go Omini
Page 11: ...9 ...