@@ -2064,7 +2064,7 @@ updateSELinuxHTTPPortT() {
2064
2064
# 操作Nginx
2065
2065
handleNginx () {
2066
2066
2067
- if [[ -z $( pgrep -f " nginx" ) ]] && [[ " $1 " == " start" ]]; then
2067
+ if ! echo " ${selectCustomInstallType} " | grep -qwE " ,7,|,8,|,7,8, " && [[ -z $( pgrep -f " nginx" ) ]] && [[ " $1 " == " start" ]]; then
2068
2068
if [[ " ${release} " == " alpine" ]]; then
2069
2069
rc-service nginx start 2> /etc/v2ray-agent/nginx_error.log
2070
2070
else
@@ -5884,7 +5884,8 @@ unInstall() {
5884
5884
rm -rf /etc/v2ray-agent
5885
5885
rm -rf ${nginxConfigPath} alone.conf
5886
5886
rm -rf ${nginxConfigPath} checkPortOpen.conf > /dev/null 2>&1
5887
- rm -rf ${nginxConfigPath} subscribe.conf > /dev/null 2>&1
5887
+ unInstallSubscribe
5888
+ # rm -rf ${nginxConfigPath}subscribe.conf >/dev/null 2>&1
5888
5889
5889
5890
if [[ -d " ${nginxStaticPath} " && -f " ${nginxStaticPath} /check" ]]; then
5890
5891
rm -rf " ${nginxStaticPath} *"
@@ -8049,6 +8050,7 @@ customSingBoxInstall() {
8049
8050
handleSingBox start
8050
8051
# 生成账号
8051
8052
checkGFWStatue 8
8053
+ unInstallSubscribe
8052
8054
showAccounts 9
8053
8055
else
8054
8056
echoContent red " ---> 输入不合法"
@@ -8148,6 +8150,7 @@ customXrayInstall() {
8148
8150
handleXray start
8149
8151
# 生成账号
8150
8152
checkGFWStatue 11
8153
+ unInstallSubscribe
8151
8154
showAccounts 12
8152
8155
else
8153
8156
echoContent red " ---> 输入不合法"
@@ -8226,6 +8229,7 @@ xrayCoreInstall() {
8226
8229
handleNginx start
8227
8230
# 生成账号
8228
8231
checkGFWStatue 11
8232
+ unInstallSubscribe
8229
8233
showAccounts 12
8230
8234
}
8231
8235
@@ -8265,9 +8269,8 @@ singBoxInstall() {
8265
8269
handleSingBox stop
8266
8270
sleep 2
8267
8271
handleSingBox start
8268
-
8272
+ unInstallSubscribe
8269
8273
# 生成账号
8270
- # checkGFWStatue 12
8271
8274
showAccounts 9
8272
8275
}
8273
8276
@@ -8946,7 +8949,7 @@ subscribe() {
8946
8949
8947
8950
echoContent skyBlue " -------------------------备注---------------------------------"
8948
8951
echoContent yellow " # 查看订阅会重新生成本地账号的订阅"
8949
- # echoContent yellow "# 添加账号或者修改账号需要重新查看订阅才会重新生成对外访问的订阅内容"
8952
+ # echoContent yellow "# 添加账号或者修改账号需要重新查看订阅才会重新生成对外访问的订阅内容"
8950
8953
echoContent red " # 需要手动输入md5加密的salt值,如果不了解使用随机即可"
8951
8954
echoContent yellow " # 不影响已添加的远程订阅的内容\n"
8952
8955
@@ -9396,6 +9399,7 @@ xrayCoreRealityInstall() {
9396
9399
sleep 2
9397
9400
# 启动
9398
9401
handleXray start
9402
+ unInstallSubscribe
9399
9403
# 生成账号
9400
9404
showAccounts 8
9401
9405
}
@@ -9627,7 +9631,7 @@ menu() {
9627
9631
echoContent red " \n=============================================================="
9628
9632
echoContent green " 原作者:mack-a"
9629
9633
echoContent green " 作者:Wizard89"
9630
- echoContent green " 当前版本:v3.1.14 "
9634
+ echoContent green " 当前版本:v3.1.15 "
9631
9635
echoContent green " Github:https://github.com/Wizard89/v2ray-agent"
9632
9636
echoContent green " 描述:八合一共存脚本\c"
9633
9637
showInstallStatus
0 commit comments