firmware/src/packages/fff/fff-layer3-config/Makefile
Fabian Bläse 31866435a1 fff-layer3-config: Add script to set wan vlan/interface
Allow setting WAN vlan/interface from gateway config.
A configuration without explicit definition of a WAN interface is
valid at the moment and results in the default configuration from
fff-network being used.

Originally, it was intended to automatically set WAN to vlan 2, if nothing was
specified. As this would break devices, which don't use swconfig for
WAN, the already configured WAN interface is left untouched.

Fixes: #85 (gitea)
Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <freifunk@dresel.systems>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
2021-02-09 22:46:58 +01:00

33 lines
628 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-layer3-config
PKG_RELEASE:=6
include $(INCLUDE_DIR)/package.mk
define Package/fff-layer3-config
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken Layer3 firmware configuration tools
URL:=https://www.freifunk-franken.de
DEPENDS:= \
+fff-boardname \
+fff-config \
+fff-dhcp \
+fff-network
endef
define Package/fff-layer3-config/description
This package provides the means for configuring the gateway
endef
define Build/Compile
# nothing
endef
define Package/fff-layer3-config/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fff-layer3-config))