dn42/update.sh
2020-04-04 01:10:26 +02:00

27 lines
911 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 fsn2.dn42.zotan.network:/etc/systemd/network/dn42* fsn2/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 fsn2.dn42.zotan.network:/etc/bird.conf fsn2/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 -r fsn2.dn42.zotan.network:/etc/bird fsn2/bird2
scp fsn1.dn42.zotan.network:/etc/iptables/ip*tables.rules fsn1/iptables
scp root@fsn1.dn42.zotan.network:/etc/named.conf fsn1/named
echo
echo
echo
ggrep -r "PrivateKey " .