dn42/update.sh
2020-04-03 21:34:53 +02:00

19 lines
711 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
scp root@fsn1.dn42.zotan.network:/etc/named.conf fsn1/named
ggrep -r "PrivateKey " .