summaryrefslogtreecommitdiff
path: root/scripts/check-efa-urls
blob: e89a8fdb490e28f729aca3b2b1345126071a3d4c (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
31
#!/usr/bin/env zsh

export PERL5LIB=lib

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

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