From 0e4d42b262f017cb687e4fe721fbcf6315af08c3 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Mon, 12 Nov 2018 22:04:16 +0100 Subject: [PATCH] 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 --- net/freeswitch-stable/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/net/freeswitch-stable/Makefile b/net/freeswitch-stable/Makefile index 0dd4dcf..766c457 100644 --- a/net/freeswitch-stable/Makefile +++ b/net/freeswitch-stable/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PRG_NAME:=freeswitch PKG_NAME:=$(PRG_NAME)-stable PKG_VERSION:=1.8.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Sebastian Kemper PKG_SOURCE:=$(PRG_NAME)-$(PKG_VERSION).tar.xz @@ -428,16 +428,14 @@ endef define Package/$(PKG_NAME)/postinst #!/bin/sh 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 "o-------------------------------------------------------------------o" echo "| FreeSWITCH note |" echo "o-------------------------------------------------------------------o" 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 [ -f /etc/hotplug.d/iface/99-freeswitch ] && { -- 2.30.2