projects
/
openwrt
/
staging
/
981213.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mediatek: mt7623: bpi-r2: bump compat version on boot
[openwrt/staging/981213.git]
/
target
/
linux
/
mediatek
/
mt7623
/
base-files
/
etc
/
board.d
/
05_compat-version
diff --git a/target/linux/mediatek/mt7623/base-files/etc/board.d/05_compat-version
b/target/linux/mediatek/mt7623/base-files/etc/board.d/05_compat-version
new file mode 100644
(file)
index 0000000..
a4cf133
--- /dev/null
+++ b/
target/linux/mediatek/mt7623/base-files/etc/board.d/05_compat-version
@@ -0,0
+1,14
@@
+. /lib/functions.sh
+. /lib/functions/uci-defaults.sh
+
+board_config_update
+
+case "$(board_name)" in
+bananapi,bpi-r2)
+ ucidef_set_compat_version "1.1"
+ ;;
+esac
+
+board_config_flush
+
+exit 0