Take advantage of variable substitution already in the Makefile to specify the correc...
authorTilghman Lesher <tilghman@meg.abyt.es>
Sun, 6 Jun 2010 05:29:50 +0000 (05:29 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Sun, 6 Jun 2010 05:29:50 +0000 (05:29 +0000)
(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

index 2f336cc..abf3951 100755 (executable)
@@ -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 <damin@nacs.net>
 # - Updated Version to 1.3
 ### 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