Merge pull request #454 from midoks/dev

延长检查时间
pull/459/head
Mr Chen 2 years ago committed by GitHub
commit 55f8e3fd72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/init.d/mw.tpl

@ -41,7 +41,7 @@ mw_start_panel()
sleep 0.5 sleep 0.5
isStart=$(lsof -n -P -i:$port|grep LISTEN|grep -v grep|awk '{print $2}'|xargs) isStart=$(lsof -n -P -i:$port|grep LISTEN|grep -v grep|awk '{print $2}'|xargs)
let n+=1 let n+=1
if [ $n -gt 20 ];then if [ $n -gt 60 ];then
break; break;
fi fi
done done

Loading…
Cancel
Save