freeswitch-stable: don't force disable on install
Don't force freeswitch to off during postinstall. It's not common practice (anywhere) and it may be confusing. Add a link to the Wiki, too, and bump the revision. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
e730272a77
commit
0e4d42b262
1 changed files with 4 additions and 6 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PRG_NAME:=freeswitch
|
PRG_NAME:=freeswitch
|
||||||
PKG_NAME:=$(PRG_NAME)-stable
|
PKG_NAME:=$(PRG_NAME)-stable
|
||||||
PKG_VERSION:=1.8.2
|
PKG_VERSION:=1.8.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
|
PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
|
||||||
|
|
||||||
PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
|
@ -428,16 +428,14 @@ endef
|
||||||
define Package/$(PKG_NAME)/postinst
|
define Package/$(PKG_NAME)/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||||
# Prevent $(PRG_NAME) from auto-starting after an upgrade. The modules may
|
|
||||||
# not be upgraded yet and the user configuration may need a revision.
|
|
||||||
uci set freeswitch.general.enabled=0
|
|
||||||
uci commit freeswitch
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "o-------------------------------------------------------------------o"
|
echo "o-------------------------------------------------------------------o"
|
||||||
echo "| FreeSWITCH note |"
|
echo "| FreeSWITCH note |"
|
||||||
echo "o-------------------------------------------------------------------o"
|
echo "o-------------------------------------------------------------------o"
|
||||||
echo "| Edit /etc/config/freeswitch to change basic init configuration. |"
|
echo "| Edit /etc/config/freeswitch to change basic init configuration. |"
|
||||||
|
echo "| |"
|
||||||
|
echo "| Also visit the Wiki at: |"
|
||||||
|
echo "| https://openwrt.org/docs/guide-user/services/voip/freeswitch |"
|
||||||
echo "o-------------------------------------------------------------=^_^=-o"
|
echo "o-------------------------------------------------------------=^_^=-o"
|
||||||
echo
|
echo
|
||||||
[ -f /etc/hotplug.d/iface/99-freeswitch ] && {
|
[ -f /etc/hotplug.d/iface/99-freeswitch ] && {
|
||||||
|
|
Loading…
Reference in a new issue