updated by /home/nico/bin/sync-all-repos on nb3

This commit is contained in:
Nico Schottelius 2021-05-05 10:54:52 +02:00
parent fb3e1ca263
commit 0b52e8bad7

View file

@ -13,7 +13,7 @@ for notebook in nb1 nb2 nb3 bridge line hike freiheit; do
for place in place7 place10; do for place in place7 place10; do
if [ -z "$found" ]; then if [ -z "$found" ]; then
fqdn=${notebook}.${place}.ungleich.ch fqdn=${notebook}.${place}.ungleich.ch
ping -c2 ${fqdn} >/dev/null && found=$place ping -c2 ${fqdn} >/dev/null 2>&1 && found=$place
fi fi
done done