Browse Source

knxd: Fix config file location and init script.

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
lilik-openwrt-22.03
Patrick Grimm 7 years ago
parent
commit
53caa112be
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      net/knxd/Makefile
  2. +1
    -1
      net/knxd/files/knxd.init

+ 3
- 3
net/knxd/Makefile View File

@ -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))

+ 1
- 1
net/knxd/files/knxd.init View File

@ -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…
Cancel
Save