1
2
3
4
5
6
7
8
9
10
11
12
13
| #!/bin/bash
|
| delay=10
| total=${1:-10000}
| CNT=/userdata/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
| sync
|
|