forked from freifunk-franken/firmware
Christian Dresel
87e627ba29
On call -t we write the pid on /tmp/configure-layer3-pid. If the script exits from user we use trap to run the new function keep_changes() If the connections to the router lost, the user can run configure-layer3 -k after reconnect to keep changes manually Signed-off-by: Christian Dresel <freifunk@dresel.systems> Reviewed-by: Robert Langhammer <rlanghammer@web.de> [wrap and rephrase exit comment, bump PKG_RELEASE] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
35 lines
675 B
Makefile
35 lines
675 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-layer3-config
|
|
PKG_RELEASE:=4
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-layer3-config
|
|
|
|
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))
|