knxd: Fix config file location and init script.
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
This commit is contained in:
parent
139015087c
commit
53caa112be
2 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=knxd
|
PKG_NAME:=knxd
|
||||||
PKG_VERSION:=0.14.18
|
PKG_VERSION:=0.14.18
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://github.com/knxd/knxd.git
|
PKG_SOURCE_URL:=https://github.com/knxd/knxd.git
|
||||||
|
@ -47,7 +47,7 @@ EIB KNX Daemon
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/knxd/conffiles
|
define Package/knxd/conffiles
|
||||||
/etc/config/knxd.ini
|
/etc/knxd.ini
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CXXFLAGS+= -std=c++0x
|
TARGET_CXXFLAGS+= -std=c++0x
|
||||||
|
@ -72,7 +72,7 @@ define Package/knxd/install
|
||||||
$(INSTALL_BIN) ./files/knxd.init $(1)/etc/init.d/knxd
|
$(INSTALL_BIN) ./files/knxd.init $(1)/etc/init.d/knxd
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/etc/config
|
$(INSTALL_DIR) $(1)/etc/config
|
||||||
$(INSTALL_DATA) ./files/knxd.ini $(1)/etc/config/knxd.ini
|
$(INSTALL_DATA) ./files/knxd.ini $(1)/etc/knxd.ini
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,knxd))
|
$(eval $(call BuildPackage,knxd))
|
||||||
|
|
|
@ -54,7 +54,7 @@ start_service() {
|
||||||
append_parm args listen_local "listen-local" "/var/run/knxd"
|
append_parm args listen_local "listen-local" "/var/run/knxd"
|
||||||
config_get url args url
|
config_get url args url
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command $PROG $params $url
|
procd_set_param command $PROG "/etc/knxd.ini"
|
||||||
procd_set_param respawn
|
procd_set_param respawn
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue