summaryrefslogtreecommitdiff
path: root/net/rtpproxy/Makefile
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2018-11-05 20:16:54 +0100
committerSebastian Kemper <sebastian_ml@gmx.net>2018-11-05 20:16:56 +0100
commit0b092cbe2b5eed5dd6f9140ee35860ac32bdd577 (patch)
treeeb1d8c1236776984115481e69d7f6af6874eba77 /net/rtpproxy/Makefile
parent72cb5b8350abcb112f20e4a92efa791c4686ab3c (diff)
rtpproxy: add hotplug script
Install hotplug script along with rtpproxy. It will only be used if enabled by the user (via uci config file). Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'net/rtpproxy/Makefile')
-rw-r--r--net/rtpproxy/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/rtpproxy/Makefile b/net/rtpproxy/Makefile
index 8c8505b..87ecab8 100644
--- a/net/rtpproxy/Makefile
+++ b/net/rtpproxy/Makefile
@@ -64,13 +64,16 @@ TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
define Package/rtpproxy/install
$(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/rtpproxy.init $(1)/etc/init.d/rtpproxy
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/rtpproxy.config $(1)/etc/config/rtpproxy
+
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
+ $(INSTALL_BIN) ./files/rtpproxy.hotplug $(1)/etc/hotplug.d/iface
endef
define Package/rtpproxy-mod-acct-csv/install