Update socat.sh
parent
641b541dc2
commit
f1cd951191
2
socat.sh
2
socat.sh
|
@ -79,7 +79,7 @@ start_socat(){
|
||||||
chmod +x /etc/rc.d/rc.local
|
chmod +x /etc/rc.d/rc.local
|
||||||
else
|
else
|
||||||
if [ -s /etc/rc.local ]; then
|
if [ -s /etc/rc.local ]; then
|
||||||
echo -e "${Green}检测到系统无/etc/rc.local自启,正在为其配置... ${Font} "
|
echo -e "${Green}检测到系统无/etc/rc.local自启,正在为其配置... ${Font} "
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
Description=/etc/rc.local
|
Description=/etc/rc.local
|
||||||
ConditionPathExists=/etc/rc.local
|
ConditionPathExists=/etc/rc.local
|
||||||
|
|
Loading…
Reference in New Issue