function target reboot in split format
|
|
= NAME =target_reboot
|
|
|
= SYNOPSIS =reboot the target, and wait for it to come back up
|
|
|
= DESCRIPTION =This function is used to reboot the target board. It calls ov_rootfs_reboot, and then loops doing 'cmd "true"'. It sleeps 1 second for each interation of the loop.
|
|
This function is called with a positional argument to indicate the number of retries to attempt.
|
This function is called with a positional argument to indicate the number of retries to attempt.
|
|
|
= EXAMPLES =Here are some sample invocations:{{{#!YellowBox target_reboot $MAX_REBOOT_RETRIES}}}
|
|
|
= ENVIRONMENT and ARGUMENTS =Positional argument $1 is used to indicate the number of retries to attempt.
|
|
|
= RETURN =This function aborts the job if it the board cannot be contacted after the reboot.
|
|
|
= SOURCE =Located in ''scripts/functions.sh''
|
|
ov_rootfs_reboot
|
= SEE ALSO = * [[function_ov_rootfs_reboot|ov_rootfs_reboot]]
|