Can the Jetson AGX Thor Dev Kit be set to automatically reboot after flashing with the l4t_initrd_flash.sh script?

Can the Jetson AGX Thor Dev Kit be set to automatically reboot after flashing with the l4t_initrd_flash.sh script?

This might work: Edit
tools/kernel_flash/l4t_initrd_flash_internal.sh:1339-1342.

# Change:

              if [ -z "${boot_rootfs}" ]; then
                      echo "Flashing finish"
                      exit
              fi


# To:

              if [ -z "${boot_rootfs}" ]; then
                      echo "Flashing finish"
                      sudo python3 "${FLASH_EXEC}" -b jetson-t264 --l4t \
                      -P "${bsp_images_dir}/flash_workspace" --applet reboot \
                      --usb-instance "${usb_instance}" || true
                      exit
              fi

I am unfortunately not at a place where I can test.

Well, thanks a lot. I will try.