dn42/update.sh
2020-04-03 20:53:47 +02:00

16 lines
649 B
Bash

#!/bin/bash
scp fsn1.dn42.zotan.network:/etc/systemd/network/* fsn1/systemd-networkd
scp nbg1.dn42.zotan.network:/etc/systemd/network/* nbg1/systemd-networkd
scp hel1.dn42.zotan.network:/etc/systemd/network/* hel1/systemd-networkd
scp fsn1.dn42.zotan.network:/etc/bird.conf fsn1/bird2
scp nbg1.dn42.zotan.network:/etc/bird.conf nbg1/bird2
scp hel1.dn42.zotan.network:/etc/bird.conf hel1/bird2
scp -r fsn1.dn42.zotan.network:/etc/bird fsn1/bird2
scp -r nbg1.dn42.zotan.network:/etc/bird nbg1/bird2
scp -r hel1.dn42.zotan.network:/etc/bird hel1/bird2
scp fsn1.dn42.zotan.network:/etc/iptables/ip*tables.rules fsn1/iptables
ggrep -r "PrivateKey " .