rtpproxy: add a note about the uci file
authorSebastian Kemper <sebastian_ml@gmx.net>
Mon, 5 Nov 2018 19:21:06 +0000 (20:21 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Mon, 5 Nov 2018 19:21:09 +0000 (20:21 +0100)
Echoes a message upon installation and points the user to
/etc/config/rtpproxy.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/rtpproxy/Makefile

index 87ecab838994a58cdda245b820d5f1b1121d399f..fdebd1d30d8d10171ab9ddde57d311fdf180fd55 100644 (file)
@@ -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 \