mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
feat: add shadowsocks support for aarch64
feat: add a new cpu architecture
This commit is contained in:
@@ -37,7 +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_aarch64"
|
||||
[ -n "$(echo $model | grep -E "linux.*aarch64.*")" ] && model="linux_aarch64"
|
||||
[ -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"
|
||||
|
||||
Reference in New Issue
Block a user