Difference between revisions of "Enable/Power peripherals"

From Take-Air Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
After installation the ESP module and Cube are enabled by default: They will be powered when booting the Jetson.
+
After installation, the ESP module and Cube are enabled by default: they will be powered when booting the Jetson.
 
To configure this a the script is provided: <code>/opt/take-air/OpenOC2-boot.sh</code>.
 
To configure this a the script is provided: <code>/opt/take-air/OpenOC2-boot.sh</code>.
 
This script automatically gets executed during boot.
 
This script automatically gets executed during boot.

Latest revision as of 17:38, 1 November 2021

After installation, the ESP module and Cube are enabled by default: they will be powered when booting the Jetson. To configure this a the script is provided: /opt/take-air/OpenOC2-boot.sh. This script automatically gets executed during boot.

Change configuration

  • To disable automatic power-on of the ESP, change the line: START_ESP="yes" to START_ESP="no".
  • Similarly, to disable automatic power-on of the Cube, change the line: START_CUBE="yes" to START_CUBE="no".
  • Perform a reboot apply the change(s):
    $ sudo reboot 0

Bootscript status

To check if the bootscript gets executed correctly, use:

$ systemctl status openoc2boot.service