Merge pull request #394 from micmac1/kama-hot

rtpproxy & kamailio: fix hotplug script file names
This commit is contained in:
Jiri Slachta 2018-12-02 21:54:54 +01:00 committed by GitHub
commit d3666a4ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=kamailio5
PKG_VERSION:=5.1.6
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_URL := \
https://sources.openwrt.org \
@ -276,7 +276,7 @@ $(foreach c,kamailio.cfg kamctlrc,$(call Package/kamailio5/install/conffile,$(1)
$(INSTALL_DIR) $(1)/etc/hotplug.d/iface
$(INSTALL_BIN) \
./files/kamailio.hotplug \
$(1)/etc/hotplug.d/iface
$(1)/etc/hotplug.d/iface/99-kamailio
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/kamailio/kamctl \
$(1)/usr/lib/kamailio/

View file

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rtpproxy
PKG_VERSION:=2.1.0-20170914
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/sippy/rtpproxy.git
@ -73,7 +73,7 @@ define Package/rtpproxy/install
$(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
$(INSTALL_BIN) ./files/rtpproxy.hotplug $(1)/etc/hotplug.d/iface/90-rtpproxy
endef
define Package/rtpproxy/postinst