From 4a502862d97c58b28eb5d9502817749ace42dd42 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 9 Apr 2008 22:58:01 +0000 Subject: [PATCH] work on some debian-like platforms where /lib/init/vars/sh doesn't exist git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8071 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- debian/freeswitch.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/freeswitch.init b/debian/freeswitch.init index 9168dad4b5..7456ba2ab6 100755 --- a/debian/freeswitch.init +++ b/debian/freeswitch.init @@ -51,7 +51,7 @@ esac # 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