gluon-radvd: replace pregenerated config file with Lua script
This commit is contained in:
parent
2316cf9f41
commit
3cefed4351
4
Makefile
4
Makefile
|
@ -1,8 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=gluon-radvd
|
PKG_NAME:=gluon-radvd
|
||||||
PKG_VERSION:=1
|
PKG_VERSION:=2
|
||||||
PKG_RELEASE:=1.$(GLUON_CONFIG_VERSION)
|
|
||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|
||||||
|
@ -31,7 +30,6 @@ endef
|
||||||
|
|
||||||
define Package/gluon-radvd/install
|
define Package/gluon-radvd/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
$(GLUON_GENERATE) ./generate/* $(1)/
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gluon-radvd))
|
$(eval $(call BuildPackage,gluon-radvd))
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
interface br-client
|
|
||||||
{
|
|
||||||
IgnoreIfMissing on;
|
|
||||||
AdvSendAdvert on;
|
|
||||||
AdvDefaultLifetime 0;
|
|
||||||
|
|
||||||
prefix @prefix6@
|
|
||||||
{
|
|
||||||
};
|
|
||||||
};
|
|
Loading…
Reference in New Issue