From ef8940efca6b0ad76b8d0e82bf8da3f95a468501 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Sun, 6 Jun 2010 05:29:50 +0000 Subject: [PATCH] Take advantage of variable substitution already in the Makefile to specify the correct location for files in init.d. (closes issue #16979) Reported by: jw-asterisk (issue #15691) Reported by: itamarjp git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268534 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- contrib/init.d/rc.redhat.asterisk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk index 2f336ccce9..abf3951138 100755 --- a/contrib/init.d/rc.redhat.asterisk +++ b/contrib/init.d/rc.redhat.asterisk @@ -6,7 +6,7 @@ # chkconfig: 2345 90 60 # description: Asterisk PBX and telephony daemon. # processname: asterisk -# pidfile: /var/run/asterisk.pid +# pidfile: __ASTERISK_VARRUN_DIR__/asterisk.pid # # Thu Nov 17 2005 Gregory Boehnlein # - Updated Version to 1.3 @@ -33,10 +33,10 @@ ### END INIT INFO # Use this option to specify a different configuration directory -#AST_CONFIG=/etc/asterisk +#AST_CONFIG=__ASTERISK_ETC_DIR__ # Installation directory -AST_SBIN=/usr/sbin +AST_SBIN=__ASTERISK_SBIN_DIR__ # Source function library. . /etc/rc.d/init.d/functions