2019-07-15 11:43:31 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2019-08-10 11:35:56 +00:00
|
|
|
|
2019-07-15 11:43:31 +00:00
|
|
|
START=99
|
|
|
|
|
|
|
|
boot() {
|
|
|
|
case $(board_name) in
|
2019-08-10 12:00:24 +00:00
|
|
|
adtran,bsap1800-v2|\
|
|
|
|
adtran,bsap1840)
|
|
|
|
fconfig -s -w -d $(find_mtd_part "RedBoot config") -n boot_cntb -x 0
|
|
|
|
;;
|
2019-07-15 11:43:31 +00:00
|
|
|
qihoo,c301)
|
|
|
|
local n=$(fw_printenv activeregion | cut -d = -f 2)
|
|
|
|
fw_setenv "image${n}trynum" 0
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|