2026-03-10 10:32:11

This commit is contained in:
JonathanN1203
2026-03-10 10:32:11 +01:00
parent 3df6492a73
commit 910b9c8113
58243 changed files with 11931 additions and 2 deletions

4
sync.sh Normal file → Executable file
View File

@@ -1,10 +1,10 @@
#!/bin/bash
##!/bin/bash
cd /opt/automatic_mtr_logs/
#git pull
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no " git pull
rsync -e "ssh -o StrictHostKeyChecking=no" -av 192.168.4.19:/opt/mtr_log/logs/* DTAG/
#rsync -e "ssh -o StrictHostKeyChecking=no" -av 192.168.179.19:/opt/mtr_log/logs/* VF/
rsync -e "ssh -o StrictHostKeyChecking=no" -av 192.168.179.19:/opt/mtr_log/logs/* VF/
git add *
git commit -m "$(date '+%Y-%m-%d %H:%M:%S')" -a