From: Sebastian Kemper Date: Mon, 5 Nov 2018 19:21:06 +0000 (+0100) Subject: rtpproxy: add a note about the uci file X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=325bbe9bbb96025862b8f31e16ad623cf96d8c90;p=feed%2Ftelephony.git rtpproxy: add a note about the uci file Echoes a message upon installation and points the user to /etc/config/rtpproxy. Signed-off-by: Sebastian Kemper --- diff --git a/net/rtpproxy/Makefile b/net/rtpproxy/Makefile index 87ecab8..fdebd1d 100644 --- a/net/rtpproxy/Makefile +++ b/net/rtpproxy/Makefile @@ -76,6 +76,20 @@ define Package/rtpproxy/install $(INSTALL_BIN) ./files/rtpproxy.hotplug $(1)/etc/hotplug.d/iface endef +define Package/rtpproxy/postinst +#!/bin/sh +if [ -z "$${IPKG_INSTROOT}" ]; then + echo + echo "o-------------------------------------------------------------------o" + echo "| RTPProxy note |" + echo "o-------------------------------------------------------------------o" + echo "| Edit /etc/config/rtpproxy to change basic init configuration. |" + echo "o-------------------------------------------------------------=^_^=-o" + echo +fi +exit 0 +endef + define Package/rtpproxy-mod-acct-csv/install $(INSTALL_DIR) $(1)/usr/lib/rtpproxy $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/rtpproxy/rtpp_acct_csv.so \