From: Tilghman Lesher Date: Sun, 6 Jun 2010 05:29:50 +0000 (+0000) Subject: Take advantage of variable substitution already in the Makefile to specify the correc... X-Git-Tag: 11.0.0-beta1~2898 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef8940efca6b0ad76b8d0e82bf8da3f95a468501;p=thirdparty%2Fasterisk.git 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 --- 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