From d5fc2705c5415d3a970629c3664324163cce1f1d Mon Sep 17 00:00:00 2001 From: iiiiiii1 <25471406+iiiiiii1@users.noreply.github.com> Date: Fri, 11 May 2018 20:12:12 +0800 Subject: [PATCH] Update socat.sh --- socat.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/socat.sh b/socat.sh index 7329e0e..b102294 100644 --- a/socat.sh +++ b/socat.sh @@ -65,9 +65,9 @@ start_socat(){ else source /etc/os-release &>/dev/null if [[ "${ID}" == "debian" && ${VERSION_ID} -ge 9 ]];then - echo -e "${Green}检测到【Debian ${VERSION_ID}】无/etc/rc.local自启,正在为其配置... ${Font} " + echo -e "${Green}检测到【Debian ${VERSION_ID}】无/etc/rc.local自启,正在为其配置... ${Font} " >/dev/null 2>&1 elif [[ "${ID}" == "ubuntu" && `echo "${VERSION_ID}" | cut -d '.' -f1` -ge 17 ]];then - echo -e "${Green}检测到【Ubuntu ${VERSION_ID}】无/etc/rc.local自启,正在为其配置... ${Font} " + echo -e "${Green}检测到【Ubuntu ${VERSION_ID}】无/etc/rc.local自启,正在为其配置... ${Font} " >/dev/null 2>&1 echo "[Unit] Description=/etc/rc.local ConditionPathExists=/etc/rc.local