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:
@@ -127,7 +127,7 @@ dpkg -s zerotier-systemd-manager >/dev/null 2>&1 \
|
||||
|
||||
echo "== failover =="
|
||||
install -D -m0755 failover/van-failover /usr/local/sbin/van-failover
|
||||
install -D -m0644 failover/config.json /etc/van-failover/config.json
|
||||
install_rendered failover/config.json /etc/van-failover/config.json
|
||||
install -D -m0644 failover/van-failover.service /etc/systemd/system/van-failover.service
|
||||
install -D -m0755 failover/50-disable-eee /etc/NetworkManager/dispatcher.d/50-disable-eee
|
||||
install -D -m0644 failover/99-van-arp.conf /etc/sysctl.d/99-van-arp.conf
|
||||
|
||||
Reference in New Issue
Block a user