1 #!/bin/sh /etc/rc.common
8 [ -n "$(fw_printenv bootcount bootchanged 2>/dev/null)" ] &&\
9 echo -e "bootcount\nbootchanged\n" |
/usr
/sbin
/fw_setenv
-s -
18 mtd resetbc s_env || true
24 [ $
(printf %d $
(fw_printenv
-n DebugFlag
)) -gt 0 ] || fw_setenv DebugFlag
0x1
25 [ $
(printf %d $
(fw_printenv
-n Image1Stable
)) -gt 0 ] || fw_setenv Image1Stable
1
26 [ $
(printf %d $
(fw_printenv
-n Image1Try
)) -gt 0 ] && fw_setenv Image1Try
0