xref: /OK3568_Linux_fs/debian/overlay-debug/rockchip-test/recovery/test_function_recovery.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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