summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2010-10-19 19:21:21 +0000
committerjnemeth <jnemeth@pkgsrc.org>2010-10-19 19:21:21 +0000
commitb1f5095a8c3d8837a32bcc62861c983e180cf509 (patch)
treee9ce6a5fb48fdfb7d2a3036f801efb3e948f2abd /comms
parentf4753ca632c1ff8eae7c69d0e63f1d8c69fc9eb6 (diff)
downloadpkgsrc-b1f5095a8c3d8837a32bcc62861c983e180cf509.tar.gz
Adjust rc.d script to disable colour when issuing commands to Asterisk.
Diffstat (limited to 'comms')
-rw-r--r--comms/asterisk16/Makefile3
-rw-r--r--comms/asterisk16/files/asterisk.sh6
2 files changed, 5 insertions, 4 deletions
diff --git a/comms/asterisk16/Makefile b/comms/asterisk16/Makefile
index 9442fa53158..cde4f9d96ee 100644
--- a/comms/asterisk16/Makefile
+++ b/comms/asterisk16/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2010/10/03 07:18:24 obache Exp $
+# $NetBSD: Makefile,v 1.23 2010/10/19 19:21:21 jnemeth Exp $
#
DISTNAME= asterisk-1.6.2.13
@@ -9,6 +9,7 @@ CATEGORIES= comms net audio
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \
http://downloads.asterisk.org/pub/telephony/sounds/releases/
+PKGREVISION= 1
OWNER= jnemeth@NetBSD.org
HOMEPAGE= http://www.asterisk.org/
diff --git a/comms/asterisk16/files/asterisk.sh b/comms/asterisk16/files/asterisk.sh
index 9327bd340e4..e27ac2012fa 100644
--- a/comms/asterisk16/files/asterisk.sh
+++ b/comms/asterisk16/files/asterisk.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: asterisk.sh,v 1.2 2010/03/01 07:06:48 jnemeth Exp $
+# $NetBSD: asterisk.sh,v 1.3 2010/10/19 19:21:21 jnemeth Exp $
#
# PROVIDE: asterisk
# REQUIRE: DAEMON
@@ -35,8 +35,8 @@ asterisk_prestart() {
chmod 0755 @ASTVARRUNDIR@
}
-stop_cmd="$command -r -x 'stop gracefully' >/dev/null"
-reload_cmd="$command -r -x 'reload' >/dev/null"
+stop_cmd="$command -nr -x 'stop gracefully' >/dev/null"
+reload_cmd="$command -nr -x 'reload' >/dev/null"
asterisk_nice="-20"
load_rc_config $name