summaryrefslogtreecommitdiff
path: root/scripts/check-efa-urls
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check-efa-urls')
-rwxr-xr-xscripts/check-efa-urls28
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/check-efa-urls b/scripts/check-efa-urls
new file mode 100755
index 0000000..e19e7b2
--- /dev/null
+++ b/scripts/check-efa-urls
@@ -0,0 +1,28 @@
+#!/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"
+
+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