[Home]

Summary:ASTERISK-07732: [patch] replaced hard-coded path in contrib/init.d/rc.redhat.asterisk with variable
Reporter:Earle Clubb (eclubb)Labels:
Date Opened:2006-09-12 12:25:59Date Closed:2006-10-02 14:44:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) rc_redhat_patch.txt
Description:Part of this script checks to see if $AST_SBIN/asterisk exists and if not, it generates an error message.  The error message has a hard-coded path (/usr/sbin/asterisk) which is the default for $AST_SBIN.  If $AST_SBIN changes, then the error message will be incorrect.  This patch fixes the problem by replacing /usr/sbin/asterisk with $AST_SBIN/asterisk in the error message.
Comments:By: Serge Vecher (serge-v) 2006-09-13 11:30:47

eclubb: thanks for you contributions, could you please consider getting a disclaimer on file? See bottom of http://bugs.digium.com/main_page.php

By: Earle Clubb (eclubb) 2006-09-25 08:12:05

Disclaimer now on file.

By: Joshua C. Colp (jcolp) 2006-10-02 14:44:06

Fixed in 1.2 as of revision 44198, 1.4 as of revision 44199, and trunk as of revision 44200. Thanks!