mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 01:22:25 +00:00
dynamic-vlan: fix regression introduced by the 21.02 update
board.json uses device instead of ifname. Fixes: WIFI-4420 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -6,7 +6,7 @@ USE_PROCD=1
|
||||
PROG=/usr/sbin/dynamic-vlan
|
||||
|
||||
start_service() {
|
||||
wan=$(cat /etc/board.json | jsonfilter -e '@.network.wan.ifname')
|
||||
wan=$(cat /etc/board.json | jsonfilter -e '@.network.wan.device')
|
||||
procd_open_instance
|
||||
procd_set_param command "$PROG" $wan
|
||||
procd_set_param respawn
|
||||
|
||||
Reference in New Issue
Block a user