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

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon Nov 4 09:27:31 CET 2013


From: YunQiang Su <wzssyqa at gmail.com>

/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>
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 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.1.2




More information about the sheepdog mailing list