From f53a7e3daae717d768adfbfc0393cee41432b2e3 Mon Sep 17 00:00:00 2001 From: iiiiiii1 <25471406+iiiiiii1@users.noreply.github.com> Date: Fri, 11 May 2018 19:38:32 +0800 Subject: [PATCH] Update socat.sh --- socat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socat.sh b/socat.sh index 62ac617..507a317 100644 --- a/socat.sh +++ b/socat.sh @@ -67,7 +67,7 @@ start_socat(){ if [[ "${ID}" == "debian" && ${VERSION_ID} -ge 9 ]];then echo -e "${Green}检测到Debian${VERSION_ID}无/etc/rc.local自启,正在为其配置... ${Font} " elif [[ "${ID}" == "ubuntu" && `echo "${VERSION_ID}" | cut -d '.' -f1` -ge 18 ]];then - echo -e "$${Green}检测到Ubuntu${VERSION_ID}无/etc/rc.local自启,正在为其配置... ${Font} " + echo -e "${Green}检测到Ubuntu${VERSION_ID}无/etc/rc.local自启,正在为其配置... ${Font} " echo "[Unit] Description=/etc/rc.local ConditionPathExists=/etc/rc.local