aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/filogic
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/filogic')
-rw-r--r--target/linux/mediatek/filogic/base-files/etc/uci-defaults/05_fix-compat-version10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mediatek/filogic/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/mediatek/filogic/base-files/etc/uci-defaults/05_fix-compat-version
new file mode 100644
index 0000000000..4486f2f090
--- /dev/null
+++ b/target/linux/mediatek/filogic/base-files/etc/uci-defaults/05_fix-compat-version
@@ -0,0 +1,10 @@
+. /lib/functions.sh
+
+case "$(board_name)" in
+ bananapi,bpi-r3)
+ uci set system.@system[0].compat_version="1.1"
+ uci commit system
+ ;;
+esac
+
+exit 0