xref: /OK3568_Linux_fs/external/rockchip-test/recovery/test_function_recovery.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/bash
2
3delay=10
4total=${1:-10000}
5CNT=/userdata/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
13sync
14
15