diff --git a/install.sh b/install.sh index bfe070a..55b702b 100644 --- a/install.sh +++ b/install.sh @@ -224,12 +224,13 @@ modify_alterid(){ echo -e "${GreenBG} alterID:${alterID} ${Font}" } modify_inbound_port(){ - if [[ "$shell_mode" = "h2"]] + if [[ "$shell_mode" = "h2" ]] then let PORT=$RANDOM+10000 sed -i "/\"port\"/c \ \"port\":${PORT}," ${v2ray_conf} else sed -i "/\"port\"/c \ \"port\":${port}," ${v2ray_conf} + fi judge "V2ray inbound_port 修改" } modify_UUID(){