[Freeswitch-svn] [commit] r8071 - freeswitch/trunk/debian

Freeswitch SVN mikej at freeswitch.org
Wed Apr 9 18:58:02 EDT 2008


Author: mikej
Date: Wed Apr  9 18:58:01 2008
New Revision: 8071

Modified:
   freeswitch/trunk/debian/freeswitch.init

Log:
work on some debian-like platforms where /lib/init/vars/sh doesn't exist

Modified: freeswitch/trunk/debian/freeswitch.init
==============================================================================
--- freeswitch/trunk/debian/freeswitch.init	(original)
+++ freeswitch/trunk/debian/freeswitch.init	Wed Apr  9 18:58:01 2008
@@ -51,7 +51,7 @@
 
 # Define LSB log_* functions.
 # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
-. /lib/lsb/init-functions
+[ -x /lib/init/vars.sh ] && . /lib/lsb/init-functions
 
 #
 # Function that starts the daemon/service



More information about the Freeswitch-svn mailing list