mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
wifi-scripts: add free-form "tags" array option for wifi-iface
This allows annotating wifi interfaces in the config in a way that can be queried through wifi status. One example use case is to mark wifi interfaces for use with specific services without having to explicitly reference the (often unnamed) sections from elsewhere. Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
0a7b7ef27c
commit
a3ec35cadb
@ -379,6 +379,7 @@ _wdev_common_device_config() {
|
||||
_wdev_common_iface_config() {
|
||||
config_add_string mode ssid encryption 'key:wpakey'
|
||||
config_add_boolean bridge_isolate
|
||||
config_add_array tags
|
||||
}
|
||||
|
||||
_wdev_common_vlan_config() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user