Enable/Power peripherals

From Take-Air Wiki
Jump to navigation Jump to search

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