feat: add AX3600 support

This commit is contained in:
Fred Liang
2020-05-26 21:01:08 +08:00
parent 52c577d327
commit 7383b5e6c9
3 changed files with 3 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ rm -rf ${mbroot}/bin/base64*
if [ -z "$(mbdb get mixbox.main.model)" ]; then
model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')
[ -n "$(echo $model | grep -E "linux.*aarch.*")" ] && model="linux_arm"
[ -n "$(echo $model | grep -E "linux.*arm.*")" ] && model="linux_arm"
[ -n "$(echo $model | grep -E "linux.*mips.*")" ] && model="linux_mips"
mbdb set mixbox.main.model="$model"