1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh /etc/rc.common START=99 boot() { case $(board_name) in qihoo,c301) local n=$(fw_printenv activeregion | cut -d = -f 2) fw_setenv "image${n}trynum" 0 ;; esac }