aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-12-21 14:41:12 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-12-21 14:43:26 +0200
commitc28bf247441df565d6e0e795a268ed3f331c6fdc (patch)
tree99f21054f754431046a6fdef720a40b53695202c /main/asterisk
parent8555225936eb185c878b8547da73db14cf38c711 (diff)
downloadaports-c28bf247441df565d6e0e795a268ed3f331c6fdc.tar.bz2
aports-c28bf247441df565d6e0e795a268ed3f331c6fdc.tar.xz
main/asterisk: fix init.d script reload action
Diffstat (limited to 'main/asterisk')
-rw-r--r--main/asterisk/APKBUILD4
-rw-r--r--main/asterisk/asterisk.initd4
2 files changed, 4 insertions, 4 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index b6bb6e6b4b..82596abd65 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
pkgver=10.0.0
-pkgrel=0
+pkgrel=1
pkgdesc="Asterisk: A Module Open Source PBX System"
url="http://www.asterisk.org/"
arch="all"
@@ -171,6 +171,6 @@ da5a3c500192dee4275aae5235d25f97 ASTERISK-18976.patch
1ddadef41aa7120e168738b6f3ed8917 ASTERISK-18977.patch
0af5e797f0a99d0f81f95e3710baf5b6 ASTERISK-18994.patch
bc6713f5434e07b79d3afdd155461d72 ASTERISK-18995.patch
-0ce3219e05f55af884a7dc6b99c2b276 asterisk.initd
+86c7589e906102869d67f7f8bc82ca4b asterisk.initd
ed31d7ba37bcf8b0346dcf8593c395f0 asterisk.confd
3e65172275684373e1a25c8a11224411 asterisk.logrotate"
diff --git a/main/asterisk/asterisk.initd b/main/asterisk/asterisk.initd
index 284898ae22..b9806a750e 100644
--- a/main/asterisk/asterisk.initd
+++ b/main/asterisk/asterisk.initd
@@ -242,8 +242,8 @@ stop() {
reload() {
if is_running; then
- ebegin "Forcing asterisk to reload configuration"
- /usr/sbin/asterisk -r -x "modules reload" &>/dev/null
+ ebegin "Reloading asterisk configuration"
+ /usr/sbin/asterisk -r -x "core reload" &>/dev/null
eend $?
else
eerror "Asterisk is not running!"