~增加对更多华硕/梅林设备的支持
~修复部分设备修改端口时报错的bug
This commit is contained in:
juewuy
2022-01-04 20:12:14 +08:00
parent 1969c8cb8c
commit 83a902df03
2 changed files with 2 additions and 2 deletions

View File

@@ -136,6 +136,7 @@ checkrestart(){
}
#功能相关
setport(){
getconfig
[ -z "$secret" ] && secret=未设置
[ -z "$authentication" ] && authentication=未设置
inputport(){
@@ -153,7 +154,6 @@ setport(){
inputport
else
setconfig $xport $portx
$xport=$portx
echo -e "\033[32m设置成功\033[0m"
setport
fi