[sheepdog] [PATCH 6/7] init.d script don't include /lib/init/vars.sh

YunQiang Su wzssyqa at gmail.com
Tue Sep 24 09:46:17 CEST 2013


/lib/init/vars.sh is an internal API which should not be
used by init.d scripts.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710559

Signed-off-by: YunQiang Su <wzssyqa at gmail.com>
---
 debian/sheepdog.init | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/debian/sheepdog.init b/debian/sheepdog.init
index 648ce30..9b03564 100644
--- a/debian/sheepdog.init
+++ b/debian/sheepdog.init
@@ -36,9 +36,6 @@ if [ "$START" != "yes" ]; then
 	exit 0
 fi
 
-# Load the VERBOSE setting and other rcS variables
-. /lib/init/vars.sh
-
 # Define LSB log_* functions.
 # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
 . /lib/lsb/init-functions
-- 
1.8.4.rc3




More information about the sheepdog mailing list