openwrt/package/base-files/files/lib/functions
Rafał Miłecki e5259ac839 base-files: use "ports" array in board.json network for bridges
Bridge aggregates multiple ports so use a more accurate name ("ports")
and format (array) for storing them in board.json.

Example:

"network": {
	"lan": {
		"ports": [
			"lan1",
			"lan2",
			"lan3",
			"lan4"
		],
		"protocol": "static"
	},
	"wan": {
		"ifname": "wan",
		"protocol": "dhcp"
	}
}

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:08:06 +00:00
..
caldata.sh package/base-files: caldata: use dd iflag fullblock 2021-09-01 08:07:20 +00:00
leds.sh treewide: drop shebang from non-executable lib files 2021-09-01 08:07:32 +00:00
migrations.sh treewide: drop shebang from non-executable lib files 2021-09-01 08:07:32 +00:00
network.sh base-files: fix comment typo in lib/functions/network.sh 2021-09-01 08:06:56 +00:00
preinit.sh treewide: drop shebang from non-executable lib files 2021-09-01 08:07:32 +00:00
service.sh base-files: remove function service_kill 2014-06-02 12:43:10 +00:00
system.sh base-files: add function for generating random MAC 2020-07-28 15:52:44 +02:00
uci-defaults.sh base-files: use "ports" array in board.json network for bridges 2021-09-01 08:08:06 +00:00