Update socat.sh
parent
9c68fd4813
commit
2aa6e6ea05
1
socat.sh
1
socat.sh
|
@ -84,7 +84,6 @@ start_socat(){
|
||||||
nohup socat -T 600 UDP4-LISTEN:${port1},reuseaddr,fork UDP4:${socatip}:${port2} >> /root/socat.log 2>&1 &
|
nohup socat -T 600 UDP4-LISTEN:${port1},reuseaddr,fork UDP4:${socatip}:${port2} >> /root/socat.log 2>&1 &
|
||||||
" >> /etc/rc.local
|
" >> /etc/rc.local
|
||||||
chmod +x /etc/rc.local
|
chmod +x /etc/rc.local
|
||||||
|
|
||||||
else
|
else
|
||||||
echo -e "${Green}检测到系统无rc.local自启,正在为其配置... ${Font} "
|
echo -e "${Green}检测到系统无rc.local自启,正在为其配置... ${Font} "
|
||||||
echo "[Unit]
|
echo "[Unit]
|
||||||
|
|
Loading…
Reference in New Issue