We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aee3e4 commit eba6e6cCopy full SHA for eba6e6c
start.sh
@@ -638,9 +638,12 @@ EOF
638
}
639
640
startSingBox(){
641
-
642
cd ${installpath}/serv00-play/singbox
643
+
+ if [[ ! -e "singbox.json" ]]; then
644
+ red "请先进行配置!"
645
+ return 1
646
+ fi
647
648
# if [[ ! -e ${installpath}/serv00-play/singbox/serv00sb ]] || [[ ! -e ${installpath}/serv00-play/singbox/cloudflared ]]; then
649
# read -p "请输入使用密码:" password
@@ -670,7 +673,6 @@ startSingBox(){
670
673
671
674
672
675
676
stopSingBox(){
677
678
if [ -f killsing-box.sh ]; then
0 commit comments