mirror of
https://github.com/liclac/ambient
synced 2024-11-21 19:33:08 +00:00
Remove DB from Icomera trains since it's not available any more
This commit is contained in:
parent
678205ef22
commit
371a703e8c
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
ambient_is_ssid "WIFI@DB"; or ambient_is_ssid "WIFIonICE"; or exit
|
||||
ambient_is_ssid "WIFI@DB" "WIFIonICE"; or exit
|
||||
|
||||
curl -s https://iceportal.de/api1/rs/status | jq -r '"
|
||||
AMBIENT_DE_ICE_CONNECTION=\(.connection)
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
set ambient_icomera_country ""
|
||||
set ambient_icomera_provider ""
|
||||
|
||||
set -l ssid (ambient_get_ssid)
|
||||
switch $ssid
|
||||
case "GatwickExpress_WiFi"
|
||||
|
@ -24,9 +27,6 @@ case "SJ"
|
|||
case "Irish Rail - WiFi"
|
||||
set ambient_icomera_country IE
|
||||
set ambient_icomera_provider "Irish Rail"
|
||||
case "WIFIonICE"
|
||||
set ambient_icomera_country DE
|
||||
set ambient_icomera_provider "Deutsche Bahn"
|
||||
case "THALYSNET"
|
||||
set ambient_icomera_country FR
|
||||
set ambient_icomera_country Thalys
|
||||
|
|
Loading…
Reference in a new issue