From 325bbe9bbb96025862b8f31e16ad623cf96d8c90 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Mon, 5 Nov 2018 20:21:06 +0100 Subject: [PATCH] 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 --- net/rtpproxy/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 \