net/rtpproxy: improvide configuration file treatment
Protect configuration files. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
2309d88a7a
commit
1d513a367b
1 changed files with 6 additions and 1 deletions
|
@ -45,6 +45,11 @@ $(call Package/rtpproxy/Default)
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/rtpproxy/conffiles
|
||||||
|
/etc/init.d/rtpproxy
|
||||||
|
/etc/config/rtpproxy
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/rtpproxy-mod-acct_csv
|
define Package/rtpproxy-mod-acct_csv
|
||||||
$(call Package/rtpproxy/Default)
|
$(call Package/rtpproxy/Default)
|
||||||
DEPENDS:=rtpproxy
|
DEPENDS:=rtpproxy
|
||||||
|
@ -65,7 +70,7 @@ define Package/rtpproxy/install
|
||||||
$(INSTALL_BIN) ./files/rtpproxy.init $(1)/etc/init.d/rtpproxy
|
$(INSTALL_BIN) ./files/rtpproxy.init $(1)/etc/init.d/rtpproxy
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/etc/config
|
$(INSTALL_DIR) $(1)/etc/config
|
||||||
$(INSTALL_BIN) ./files/rtpproxy.config $(1)/etc/config/rtpproxy
|
$(INSTALL_CONF) ./files/rtpproxy.config $(1)/etc/config/rtpproxy
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/rtpproxy-mod-acct_csv/install
|
define Package/rtpproxy-mod-acct_csv/install
|
||||||
|
|
Loading…
Reference in a new issue