The data streams optimizer uses this script to reboot target system and check connection after reboot.
The script supports the Yocto Project*-based board support package.
You can copy and modify the script to support another operating system. The script must meet the following requirements to maintain compatibility with the data streams optimizer:
Output: The script should print status of reboot process.
Error handling: Any nonzero value returned from the script will be interpreted as an error. Any additional logging should be printed to STDERR.
Command line: tools/target_scripts/target_reboot.sh
Return value: 0