mirror of https://github.com/mack-a/v2ray-agent
fix(脚本): 修复错误识别系统问题、修复IPv6分流卸载启动失败问题
parent
d4861a61b7
commit
8d3ed86d4f
|
@ -65,7 +65,7 @@ checkSystem() {
|
||||||
updateReleaseInfoChange='apt-get --allow-releaseinfo-change update'
|
updateReleaseInfoChange='apt-get --allow-releaseinfo-change update'
|
||||||
removeType='apt -y autoremove'
|
removeType='apt -y autoremove'
|
||||||
|
|
||||||
elif [[ -f "/etc/issue" ]] && grep </etc/issue -q -i "ubuntu" || [[ -f "/proc/version" ]] && grep </proc/version -q -i "ubuntu"; then
|
elif [[ -f "/etc/issue" ]] && grep </etc/issue -q -i "ubuntu" || [[ -f "/proc/version" ]] && grep </etc/issue -q -i "ubuntu"; then
|
||||||
release="ubuntu"
|
release="ubuntu"
|
||||||
installType='apt -y install'
|
installType='apt -y install'
|
||||||
upgrade="apt update"
|
upgrade="apt update"
|
||||||
|
@ -6196,6 +6196,7 @@ ipv6Routing() {
|
||||||
|
|
||||||
if [[ -n "${singBoxConfigPath}" ]]; then
|
if [[ -n "${singBoxConfigPath}" ]]; then
|
||||||
removeSingBoxConfig IPv6_out
|
removeSingBoxConfig IPv6_out
|
||||||
|
removeSingBoxConfig "IPv6_route"
|
||||||
addSingBoxOutbound "01_direct_outbound"
|
addSingBoxOutbound "01_direct_outbound"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -9078,7 +9079,7 @@ menu() {
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
echoContent red "\n=============================================================="
|
echoContent red "\n=============================================================="
|
||||||
echoContent green "作者:mack-a"
|
echoContent green "作者:mack-a"
|
||||||
echoContent green "当前版本:v3.2.42"
|
echoContent green "当前版本:v3.2.43"
|
||||||
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
echoContent green "Github:https://github.com/mack-a/v2ray-agent"
|
||||||
echoContent green "描述:八合一共存脚本\c"
|
echoContent green "描述:八合一共存脚本\c"
|
||||||
showInstallStatus
|
showInstallStatus
|
||||||
|
|
Loading…
Reference in New Issue