firmware/src/packages/fff
Fabian Bläse 41b4168290 fff-network: Do not configure switch for ONE and TWO_PORT devices
In a previous change all static configuration has been moved from
configurenetwork to a static uci-defaults script. As the configuration
of the switch is completely static, while port assignment for ONE and
TWO_PORT devices is dynamic, this patch slightly changed the condition
for the creation of the switch config.

Instead of only configuring the switch, if ONE_PORT and TWO_PORT is not
set, the switch is now always configured if a swconfig device is
present. However, some ONE and TWO_PORT devices have a swconfig device,
even though only a single physical port is connected to it. Those
devices require an unconfigured switch to function properly.

Therefore, introduce additional conditions, so the switch configuration
is not generated if ONE_PORT or TWO_PORT is set.

Fixes: 1c3328e64a ("Remove static configuration from dynamic script")

Signed-off-by: Fabian Bläse <fabian@blaese.de>
2022-03-31 19:31:25 +02:00
..
alfred-json treewide: use SPDX license identifiers 2021-03-06 18:53:26 +01:00
fff-alfred treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-alfred-monitoring-proxy treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-babel fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-babel-bird2 fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-babeld fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-base Simplify firmware variant selection 2022-03-31 19:17:01 +02:00
fff-batman-adv treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-boardname Add support for x86_64 2022-03-11 12:34:59 +01:00
fff-config fff-config: Set panic on OOM 2022-03-05 18:19:13 +01:00
fff-dhcp fff-dhcp: increase dns cachesize 2022-03-05 19:31:00 +01:00
fff-fastd fff-fastd: fix fastd start/stop 2022-03-23 19:47:38 +01:00
fff-firewall treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-hoods treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-hoodutils treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-layer3 fff-layer3: Add latency to nodewatcher 2022-03-23 19:47:05 +01:00
fff-layer3-config fff-layer3-config: Always clear client interface list completely 2022-03-05 18:19:02 +01:00
fff-layer3-snat treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-macnock Unify package URL in fff-packages 2021-11-10 13:42:03 +01:00
fff-mqtt treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-mqtt-monitoring treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-network fff-network: Do not configure switch for ONE and TWO_PORT devices 2022-03-31 19:31:25 +02:00
fff-node treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-nodewatcher fff-babel: Make implementation runtime switchable 2022-03-23 19:47:02 +01:00
fff-ra treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-random treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-simple-tc treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-support treewide: remove ETHPORT leftovers 2022-03-31 19:31:25 +02:00
fff-sysupgrade treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-timeserver treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-uradvd fff-uradvd: Add reload trigger for network 2022-03-05 18:17:25 +01:00
fff-vpn-select fff-vpn-select: do not configure peers on vpn-stop 2022-03-23 19:47:22 +01:00
fff-vxlan-node-vpn treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-hood treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-mqtt treewide: set PKG_RELEASE automatically 2022-01-09 22:03:09 +01:00
fff-web-ui treewide: remove ETHPORT leftovers 2022-03-31 19:31:25 +02:00
fff-wireguard Add support for different babel implementations 2022-03-23 19:46:30 +01:00
fff-wireless OpenWrt: bump to v21.02.2 2022-03-05 18:09:49 +01:00