summaryrefslogtreecommitdiff
path: root/scripts/check-efa-urls
blob: eb18b9ffe7c876d573210499f16fbab57fce917e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env zsh

export PERL5LIB=lib

checks="DING Ulm Hbf
SVV Salzburg Hbf
VOR Wien Hbf
Verbundlinie Graz Hbf
LinzAG Linz Hbf
VGN Nürnberg Hbf
VRR Essen Hbf
VRR2 Essen Hbf
VVS Stuttgart Schwabstraße
VVO Dresden Hbf
VRN Mannheim Hbf
NVBW Stuttgart Hbf (A.-Klett-Pl.)
VMV Schwerin Hbf
KVV Karlsruhe Hbf
TLEM London Waterloo East
VBL Luzern Bf
BSVG Braunschweig Hbf
VAG Schallstadt Bf
MVV München Hackerbrücke"

echo $checks | while read service name place; do
	echo -n "${service} ... "
	if bin/efa-m -s $service $name $place > /dev/null; then
		echo OK
	fi
done