kplex: copy config file to /etc/
authorCaesar Schinas <caesar@caesarschinas.com>
Tue, 22 Aug 2017 02:12:01 +0000 (23:12 -0300)
committerNuno Goncalves <nunojpg@gmail.com>
Sun, 27 Aug 2017 07:43:46 +0000 (08:43 +0100)
Signed-off-by: Caesar Schinas <caesar@caesarschinas.com>
net/kplex/Makefile

index 763d84b01b80c28cbfc64554d8c0f8a06655950b..d2a5395d33f7d61e376dc7afc5227738a790dff0 100644 (file)
@@ -42,6 +42,8 @@ endef
 define Package/kplex/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/kplex $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/etc
+       $(INSTALL_CONF) $(PKG_BUILD_DIR)/kplex.conf.ex $(1)/etc/kplex.conf
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/kplex.init $(1)/etc/init.d/kplex
 endef