mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-17 08:49:04 +00:00
2019-01-05
This commit is contained in:
@@ -149,6 +149,8 @@ get_config() {
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
# 保存代理类型
|
||||
mbdb set ${appname}.main.proxy_type="$proxy_type"
|
||||
|
||||
}
|
||||
|
||||
@@ -644,6 +646,8 @@ start() {
|
||||
|
||||
start_haveged
|
||||
|
||||
sleep 1
|
||||
|
||||
start_main_process
|
||||
|
||||
start_game_process
|
||||
@@ -697,7 +701,7 @@ status() {
|
||||
#if [ "$result" == '0' ] || [ "$http_status" != "200" ]; then
|
||||
result2=$(iptables -t nat -S | grep SHADOWSOCK)
|
||||
[ "$ssgena" == '1' ] && ssgflag=", 游戏节点: $ssgid($ssg_mode)"
|
||||
if [ "$result1" -ge 2 ]; then
|
||||
if [ "$result1" -ge 3 ]; then
|
||||
if [ -n "$result2" ]; then
|
||||
status="运行节点: $id($ss_mode)$ssgflag|1"
|
||||
else
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -17,7 +17,7 @@ logsh "【Tools】" "请按任意键安装工具箱(Ctrl + C 退出)."
|
||||
read answer
|
||||
#check root
|
||||
# [ "$USER" != "root" ] && logsh "【Tools】" "请使用root用户安装工具箱!" && exit 1
|
||||
mburl="https://dev.tencent.com/u/monlor/p/MIXBOX-BETA/git/raw/master"
|
||||
mburl="https://raw.githubusercontent.com/MIXBOX/master"
|
||||
mbtmp="/tmp/mbtmp"
|
||||
[ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp}
|
||||
model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')
|
||||
|
||||
Reference in New Issue
Block a user