updated by /home/nico/bin/sync-all-repos on nb3
This commit is contained in:
parent
fb3e1ca263
commit
0b52e8bad7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue