mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix for wrt update
This commit is contained in:
parent
6725ab4c45
commit
46efae0eab
1 changed files with 6 additions and 0 deletions
|
@ -24,5 +24,11 @@ fi
|
|||
uci -q set openmptcprouter.settings.scaling_governor='performance'
|
||||
uci -q commit openmptcprouter
|
||||
}
|
||||
[ -n "$(ubus call system board | jsonfilter -e '@.board_name' | grep wrt)" ] && [ "$(uci -q get system.@system[0].compat_version)" == "" ] && {
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set system.@system[-1].compat_version='1.1'
|
||||
commit system
|
||||
EOF
|
||||
}
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue