summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2015-04-02 14:53:41 +0000
committerNicolas Thill <nico@openwrt.org>2015-04-02 14:53:41 +0000
commit2848bc57ccc3bab7bd4b7cc64a569142904a2ff5 (patch)
tree9092885e685d80ccada8103d22a4d3ba3b2ed013
parent5b1d880949e8382cbc3e0e95798280ebb34e2b90 (diff)
downloadmtk-20170518-2848bc57ccc3bab7bd4b7cc64a569142904a2ff5.zip
mtk-20170518-2848bc57ccc3bab7bd4b7cc64a569142904a2ff5.tar.gz
mtk-20170518-2848bc57ccc3bab7bd4b7cc64a569142904a2ff5.tar.bz2
trelay: add conffiles section
Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45246
-rw-r--r--package/kernel/trelay/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kernel/trelay/Makefile b/package/kernel/trelay/Makefile
index 82c4101..2727ea5 100644
--- a/package/kernel/trelay/Makefile
+++ b/package/kernel/trelay/Makefile
@@ -40,6 +40,10 @@ define Build/Compile
$(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
endef
+define KernelPackage/trelay/conffiles
+/etc/config/trelay
+endef
+
define KernelPackage/trelay/install
$(INSTALL_DIR) $(1)/etc/hotplug.d/net $(1)/etc/init.d $(1)/etc/config
$(INSTALL_DATA) ./files/trelay.hotplug $(1)/etc/hotplug.d/net/50-trelay