Changes

Jump to navigation Jump to search

X708-Software

541 bytes added, 16:18, 27 April 2022
4.1 Enters the corresponding operating system scripts folder (raspberry-pi-os)
'''<span style="color:#23AC38">pi@raspberrypi</span>:<span style="color:#50BEDB">~ $</span> cd x708v2/raspberry-pi-os'''/
4.2 Execute the installation script.
<span style="color:#23AC38">pi@raspberrypi</span>:<span style="color:#50BEDB">~/x708v2/raspberry-pi-os $ </span>sudo bash pwr.sh 
This command will generate 2 power management script files as follows:
*/etc/x708pwr.sh
4.3 Create an alias x708off so that we can perform software shutdown from the command line, you can also change x708off to any name you like
<span style="color:#23AC38">pi@raspberrypi</span>:<span style="color:#50BEDB">~/x708v2/raspberry-pi-os $ </span>printf "%s\n" "alias x708off='sudo x708softsd.sh'" >> ~/.bashrc <span style="color:#23AC38">pi@raspberrypi</span>:<span style="color:#50BEDB">~/x708v2/raspberry-pi-os $ </span>sudo reboot
Or force press the button of x708 for 8 seconds to shut down and then restart
4.4 Test software shutdown from command line after restart.
<span style="color:#23AC38">pi@raspberrypi</span>:<span style="color:#50BEDB">~/x708v2/raspberry-pi-os $ </span>x708off
 
x708off

Navigation menu