From 9c04a916fecdd07a9a4f14c0ff913909513b0ff6 Mon Sep 17 00:00:00 2001 From: wulabing Date: Wed, 6 Dec 2017 15:58:20 +0800 Subject: [PATCH] Add files via upload --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 859b8ee..673c840 100644 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ # System Request:Debian 7+/Ubuntu 14.04+/Centos 6+ # Author: wulabing # Dscription: V2ray ws+tls onekey -# Version: 2.0 +# Version: 1.0 # Blog: https://www.wulabing.com # Official document: www.v2ray.com #==================================================== @@ -34,7 +34,9 @@ check_system(){ if [[ "${ID}" == "centos" && ${VERSION_ID} -ge 7 ]];then echo -e "${OK} ${GreenBG} 当前系统为 Centos ${VERSION_ID} ${Font} " INS="yum" + echo -e "${OK} ${GreenBG} SElinux 设置中 ${Font} " setsebool -P httpd_can_network_connect 1 + echo -e "${OK} ${GreenBG} SElinux 设置完成 ${Font} " elif [[ "${ID}" == "debian" && ${VERSION_ID} -ge 8 ]];then echo -e "${OK} ${GreenBG} 当前系统为 Debian ${VERSION_ID} ${Font} " INS="apt-get" @@ -378,4 +380,4 @@ main(){ start_process_systemd } -main +main \ No newline at end of file