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 <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2018-11-05 20:21:06 +01:00
parent 0b092cbe2b
commit 325bbe9bbb
1 changed files with 14 additions and 0 deletions

View 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 \