Files
vanlink/ap/van-br0-setup.service
T
andreasandClaude Sonnet 5 d704069ffc Template remaining host-specific values (WAN wifi, LAN/eth0, NVMe, nftables)
nftables.conf hardcoded the R5C network, van-br0-setup.service the R5C
interfaces and several configs wlan0/eth0. All now come from the host
config; the onboard LAN port is skipped when ONBOARD_LAN_IFACE is empty.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-23 14:32:09 -04:00

14 lines
373 B
Desktop File

[Unit]
Description=VanLink bridge member setup
After=systemd-networkd.service hostapd.service
Wants=systemd-networkd.service hostapd.service
[Service]
Type=oneshot
ExecStart=/bin/bash -c "brctl addif br0 @LAN_IFACE@ 2>/dev/null || true"
ExecStart=/bin/bash -c "brctl addif br0 @WIFI_5G_IFACE@ 2>/dev/null || true"
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target