From 7ab6dd89994af22ced7c0923d3fd041f2c331835 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 19 Mar 2008 17:48:05 +0000 Subject: [PATCH] let sysconfig override git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7933 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- build/freeswitch.init.redhat | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/freeswitch.init.redhat b/build/freeswitch.init.redhat index 3e66fc845e..9c6560d20f 100644 --- a/build/freeswitch.init.redhat +++ b/build/freeswitch.init.redhat @@ -14,11 +14,6 @@ # Source function library. . /etc/init.d/functions -# Source options file -if [ -f /etc/sysconfig/freeswitch ]; then - . /etc/sysconfig/freeswitch -fi - PROG_NAME=freeswitch PID_FILE=/opt/freeswitch/log/freeswitch.pid FS_USER=freeswitch @@ -27,6 +22,11 @@ LOCK_FILE=/var/lock/subsys/freeswitch FREESWITCH_ARGS="-nc" RETVAL=0 +# Source options file +if [ -f /etc/sysconfig/freeswitch ]; then + . /etc/sysconfig/freeswitch +fi + # start() {