firmware/src/packages/fff/fff-dhcp/Makefile
Adrian Schmutzler 597ecdc244 fff-dhcp: fix indexing and output in uci-defaults
When creating a new uci section, the safest way to refer to it is
with index '-1'. While it (probably) does not make a functional
difference for our specific case, since we expect to only have one
section anyway, let's just make sure and use the proper indexing.

While at it, suppress output from the 'add' command.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
2021-02-09 22:59:18 +01:00

30 lines
541 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-dhcp
PKG_RELEASE:=5
include $(INCLUDE_DIR)/package.mk
define Package/fff-dhcp
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken dhcp
URL:=http://www.freifunk-franken.de
DEPENDS:=+dnsmasq
endef
define Package/fff-dhcp/description
This is the fff-dhcp for the Freifunk Franken Firmware
It is used to configure dnsmasq for use as gateway.
endef
define Build/Compile
# nothing
endef
define Package/fff-dhcp/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fff-dhcp))