1#!/bin/bash 2 3delay=10 4total=${1:-10000} 5CNT=/data/rockchip-test/reboot_cnt 6 7if [ ! -e "/usr/bin/update" ]; then 8 echo "Please check if have rktoolkit built\n" 9fi 10 11# check log on /userdata/recovery/last_log 12/usr/bin/update 13#/usr/bin/update factory 14#/usr/bin/update ota xxx 15sync 16 17