From 1d513a367bc2c7a1a9b6dc5d387947f148b2bac3 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sat, 17 Feb 2018 10:44:23 +0100 Subject: [PATCH] net/rtpproxy: improvide configuration file treatment Protect configuration files. Signed-off-by: Sebastian Kemper --- net/rtpproxy/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net/rtpproxy/Makefile b/net/rtpproxy/Makefile index 31da89c..7e39695 100644 --- a/net/rtpproxy/Makefile +++ b/net/rtpproxy/Makefile @@ -45,6 +45,11 @@ $(call Package/rtpproxy/Default) MENU:=1 endef +define Package/rtpproxy/conffiles +/etc/init.d/rtpproxy +/etc/config/rtpproxy +endef + define Package/rtpproxy-mod-acct_csv $(call Package/rtpproxy/Default) DEPENDS:=rtpproxy @@ -65,7 +70,7 @@ define Package/rtpproxy/install $(INSTALL_BIN) ./files/rtpproxy.init $(1)/etc/init.d/rtpproxy $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_BIN) ./files/rtpproxy.config $(1)/etc/config/rtpproxy + $(INSTALL_CONF) ./files/rtpproxy.config $(1)/etc/config/rtpproxy endef define Package/rtpproxy-mod-acct_csv/install -- 2.30.2