aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-28 18:06:51 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-28 18:06:51 +0000
commit72f1995b69a21868f16c2c3d72f44e5ddf1f2546 (patch)
tree3d5453b948b0df0de89ff161f7b2a4355e4a59c8 /contrib
parent1c84391e133bac0e818aa25fc0e45f9c31ae5119 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@15657 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/init.d/rc.redhat.asterisk4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk
index 615ec2746..32dc8e0c6 100755
--- a/contrib/init.d/rc.redhat.asterisk
+++ b/contrib/init.d/rc.redhat.asterisk
@@ -43,7 +43,7 @@ if ! [ -x $AST_SBIN/asterisk ] ; then
fi
if ! [ -d $AST_CONFIG ] ; then
- echo "ERROR: /etc/asterisk directory not found"
+ echo "ERROR: $AST_CONFIG directory not found"
exit 0
fi
@@ -58,7 +58,7 @@ SAFE_ASTERISK=$AST_SBIN/safe_asterisk
# Allow configuration overrides in /etc/sysconfig/asterisk
CONFIG0=`readlink $0`
-if [ $CONFIG0 = "" ]; then
+if [ "$CONFIG0" = "" ]; then
CONFIGFILE=/etc/sysconfig/`basename $0`
else
CONFIGFILE=/etc/sysconfig/`basename $CONFIG0`