openwrt/package/base-files/files/lib/functions
Rafał Miłecki d42640e389 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>
2021-05-18 12:30:16 +02:00
..
caldata.sh package/base-files: caldata: use dd iflag fullblock 2020-12-11 13:48:24 +01:00
leds.sh treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
migrations.sh treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
network.sh base-files: fix comment typo in lib/functions/network.sh 2020-09-02 01:11:17 +02:00
preinit.sh treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01: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-05-18 12:30:16 +02:00