Update socat.sh

master
iiiiiii1 2018-05-12 20:59:57 +08:00 committed by GitHub
parent 9c68fd4813
commit 2aa6e6ea05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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]