failover: fix Starlink interface + template config.json from deploy.conf

STARLINK_IFACE pointed at the wrong device after the USB hub swap (was
accidentally set to the 5GHz AP dongle's interface). failover/config.json
also hardcoded the old interface name instead of being templated like the
other configs, so deploy.conf changes never reached it — switched it to
@STARLINK_IFACE@ and deploy.sh now renders it.
This commit is contained in:
Andreas Wrede
2026-08-04 08:35:18 -04:00
parent 1d3a053f5d
commit 86fa9509df
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
],
"wans": [
{ "name": "wifi", "device": "wlan0", "metric": 100 },
{ "name": "starlink", "device": "enxd8ec5eeb3512", "metric": 200 },
{ "name": "starlink", "device": "@STARLINK_IFACE@", "metric": 200 },
{ "name": "cellular", "connection": "Koodo", "metric": 300 }
]
}