linuxOS_AP06/debian/overlay-debug/rockchip-test/recovery/test_function_recovery.sh
2025-06-03 12:28:32 +08:00

17 lines
278 B
Bash
Executable File

#!/bin/bash
delay=10
total=${1:-10000}
CNT=/data/rockchip-test/reboot_cnt
if [ ! -e "/usr/bin/update" ]; then
echo "Please check if have rktoolkit built\n"
fi
# check log on /userdata/recovery/last_log
/usr/bin/update
#/usr/bin/update factory
#/usr/bin/update ota xxx
sync