projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mpc85xx: Patch HiveAP 330 u-boot to fix boot
[openwrt/staging/mkresin.git]
/
target
/
linux
/
mpc85xx
/
base-files
/
etc
/
uci-defaults
/
05_fix-compat-version
diff --git a/target/linux/mpc85xx/base-files/etc/uci-defaults/05_fix-compat-version
b/target/linux/mpc85xx/base-files/etc/uci-defaults/05_fix-compat-version
new file mode 100644
(file)
index 0000000..
253c229
--- /dev/null
+++ b/
target/linux/mpc85xx/base-files/etc/uci-defaults/05_fix-compat-version
@@ -0,0
+1,11
@@
+. /lib/functions.sh
+. /lib/functions/system.sh
+
+case "$(board_name)" in
+aerohive,hiveap-330)
+ uci set system.@system[0].compat_version="2.0"
+ uci commit system
+ ;;
+esac
+
+exit 0