openwrt/package/base-files/files
Til Kaiser 055d877a20 base-files: add ucidef_set_interface_netdev_range function
The ucidef_set_interface* functions can be used to
add network interfaces to a default network configuration.
Such network interfaces often have the same base interface
name (e.g., eth* or lan*). On devices with many network ports,
adding all ports to the default config can become inconvenient.

This commit adds a new uci function ucidef_set_interface_netdev_range,
which adds network interfaces for a specific port range to a given
OpenWrt interface. The first parameter is the OpenWrt interface, the
second is the base interface name, the third is the port start, and
the fourth is the port end range.

Signed-off-by: Til Kaiser <mail@tk154.de>
Link: https://github.com/openwrt/openwrt/pull/17251
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-10-06 19:06:26 +02:00
..
bin base-files: use cidr for config_generate 2025-05-30 22:55:27 +02:00
etc base-files: commit and sync before removing defaults script. 2025-10-04 20:49:21 +02:00
lib base-files: add ucidef_set_interface_netdev_range function 2025-10-06 19:06:26 +02:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: ignore initscript output in sysupgrade 2025-06-22 19:45:02 +01:00
usr base-files: allow platform_check_image to prevent --force 2025-04-21 16:12:42 +01:00