projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add factory image for ipTIME AX2004M
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
mt7621
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
index 40a2fb61dbb9c9eddc6c7b7a02119834643881ed..61517141453b7384ac10f3c84e8b58e96a68dca9 100755
(executable)
--- a/
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
@@
-33,6
+33,11
@@
platform_do_upgrade() {
fw_setenv --lock / bootImage 0 || exit 1
fi
;;
fw_setenv --lock / bootImage 0 || exit 1
fi
;;
+ iptime,ax2004m)
+ if [ "$(fw_printenv -n boot_from 2>/dev/null)" != "firmware1" ]; then
+ fw_setenv boot_from firmware1 || exit 1
+ fi
+ ;;
mikrotik,ltap-2hnd|\
mikrotik,routerboard-750gr3|\
mikrotik,routerboard-760igs|\
mikrotik,ltap-2hnd|\
mikrotik,routerboard-750gr3|\
mikrotik,routerboard-760igs|\