[Freeswitch-svn] [commit] r7933 - freeswitch/trunk/build

Freeswitch SVN mikej at freeswitch.org
Wed Mar 19 13:48:05 EDT 2008


Author: mikej
Date: Wed Mar 19 13:48:05 2008
New Revision: 7933

Modified:
   freeswitch/trunk/build/freeswitch.init.redhat

Log:
let sysconfig override

Modified: freeswitch/trunk/build/freeswitch.init.redhat
==============================================================================
--- freeswitch/trunk/build/freeswitch.init.redhat	(original)
+++ freeswitch/trunk/build/freeswitch.init.redhat	Wed Mar 19 13:48:05 2008
@@ -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 @@
 FREESWITCH_ARGS="-nc"
 RETVAL=0
 
+# Source options file
+if [ -f /etc/sysconfig/freeswitch ]; then
+	. /etc/sysconfig/freeswitch
+fi
+
 # <define any local shell functions used by the code that follows>
 
 start() {



More information about the Freeswitch-svn mailing list