mirror of
https://github.com/openwrt/telephony.git
synced 2026-10-22 09:34:18 +04:00
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:
1 parent
0dd94c624e
commit
04d2b6822e
1 file changed
+14
@@ -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
|
||||
|
||||
Reference in new issue
Block a user