Skip the Power off / Reboot/ Return to menu dialogue after running the Toradex Easy Installer

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Ahmed49,

To skip the “Power off / Reboot / Return to menu” dialogue after running the Toradex Easy Installer, you can modify the image.json file to include the post-install script that will automatically reboot the system after the installation is complete. Here is how you can do it:

  1. Edit the image.json file:
    Add a post-install script entry to the image.json file. This script will be executed after the installation process is complete.

    {
      "config_format": 1,
      "autoinstall": true,
      "post-install": [
        {
          "type": "shell",
          "script": "reboot"
        }
      ]
    }
    

    This configuration will ensure that the system reboots automatically after the installation without showing the “Power off / Reboot / Return to menu” dialogue.

  2. Ensure the script is executable:
    Make sure that the script specified in the post-install section is executable. In this case, the reboot command is a standard Linux command and should work out of the box.

  3. Test the configuration:
    After making these changes, test the installation process to ensure that it behaves as expected and skips the dialogue.

By adding the post-install script to the image.json file, you can automate the reboot process and avoid manual intervention after the installation is complete.

Best regards,
[Your Name]

Please, also check if these links can help you solve your problem:

Toradex Easy installer Wrapup.sh -> Shutdown instead reboot -f.