kamailio-5.x: add a note about the uci file

Echoes a message upon installation and points the user to
/etc/config/kamailio.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2018-11-05 22:36:20 +01:00
parent 0dd94c624e
commit 04d2b6822e

View file

@ -280,6 +280,20 @@ $(foreach c,kamailio.cfg kamctlrc,$(call Package/kamailio5/install/conffile,$(1)
$(1)/usr/lib/kamailio/
endef
define Package/kamailio5/postinst
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
echo
echo "o-------------------------------------------------------------------o"
echo "| Kamailio note |"
echo "o-------------------------------------------------------------------o"
echo "| Edit /etc/config/kamailio to change basic init configuration. |"
echo "o-------------------------------------------------------------=^_^=-o"
echo
fi
exit 0
endef
define Package/kamailio5/install/conffile
$(INSTALL_DIR) $(1)/etc/kamailio
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/kamailio/$(2) $(1)/etc/kamailio