deploy.sh 322 B

1234
  1. # nohup socat -v tcp-listen:12345,fork,reuseaddr,nodelay tcp:192.168.0.137:22 &
  2. # rsync -e `ssh -p 60$2` -avR --delete --progress bin/ ./bin data/ ./data/ shell ./shell/ cfg/ ./cfg/ root@10.8.0.$1:/program/ctnd/
  3. cd ../
  4. rsync -avzRW --update --progress bin/ ./bin shell ./shell/ cfg/ ./cfg/ root@10.8.0.$1:/program/pcs_sim/