mirror of https://github.com/aredn/aredn.git
16 lines
499 B
Bash
16 lines
499 B
Bash
#! /bin/sh
|
|
case "$(/usr/local/bin/get_boardid)" in
|
|
MikroTik\ hAP\ ac2|\
|
|
MikroTik\ hAP\ ac3|\
|
|
MikroTik\ SXTsq\ 5\ ac*|\
|
|
MikroTik\ LDF\ 5\ ac*|\
|
|
MikroTik\ LHG\ 5\ ac*)
|
|
sed -i "s/^compat_version = 1.0/compat_version = 1.1/" /etc/config.mesh/_setup
|
|
sed -i "s/^compat_version = 1.0/compat_version = 1.1/" /etc/config.mesh/_setup.default
|
|
/sbin/uci -q set system.@system[0].compat_version=1.1
|
|
/sbin/uci -q commit system
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|