kplex: copy config file to /etc/

Signed-off-by: Caesar Schinas <caesar@caesarschinas.com>
This commit is contained in:
Caesar Schinas 2017-08-21 23:12:01 -03:00 committed by Nuno Goncalves
parent d640f17bfc
commit 4ca39773c8
1 changed files with 2 additions and 0 deletions

View 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