v1.8.10c
~修复部分情况下singbox配置文件覆写出现的一些问题 ~修复华硕设备因busybox版本过低导致的find命令报错等问题 ~修复了导入未知内核时,未提供singboxp选项的bug ~修复了部分设备启动报错的问题
This commit is contained in:
@@ -177,7 +177,7 @@ start_core(){
|
||||
${CRASHDIR}/start.sh start
|
||||
#设置循环检测以判定服务启动是否成功
|
||||
i=1
|
||||
while [ -z "$test" -a "$i" -lt 10 ];do
|
||||
while [ -z "$test" -a "$i" -lt 5 ];do
|
||||
sleep 1
|
||||
if curl --version > /dev/null 2>&1;then
|
||||
test=$(curl -s http://127.0.0.1:${db_port}/configs | grep -o port)
|
||||
@@ -186,7 +186,7 @@ start_core(){
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
[ -n "$test" ] && startover
|
||||
[ -n "$test" -o -n "$(pidof CrashCore)" ] && startover
|
||||
else
|
||||
echo -e "\033[31m没有找到${crashcore}配置文件,请先导入配置文件!\033[0m"
|
||||
source ${CRASHDIR}/getdate.sh && set_core_config
|
||||
|
||||
Reference in New Issue
Block a user