Files
Bastiaan Stougie 9777081ec0 batman-adv: improve batadv_vlan.sh for LuCI
Apply ap_isolation default value '0' if option ap_isolation is
not present in the batadv_vlan interface configuration.

Default value '0' should be applied for the use case where
"option ap_isolation '1'" was present, is removed, and
'service network reload' is executed.

This is required for proper LuCI integration, because if an option
is set to the default value, LuCI removes the option.

Also take into account $INCLUDE_ONLY as in other /lib/netifd/proto
scripts and as recommended in the guide at:
https://openwrt.org/docs/guide-developer/network-scripting

Signed-off-by: Bastiaan Stougie <wififreedom2026@protonmail.com>
2026-03-18 13:50:06 +01:00
..