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:
parent
0dd94c624e
commit
04d2b6822e
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue