|
@@ -64,10 +64,17 @@ Forwarded: not-yet
|
|
|
status)
|
|
|
--- a/contrib/persistence/vblade.init.lsb-daemon
|
|
|
+++ b/contrib/persistence/vblade.init.lsb-daemon
|
|
|
-@@ -30,6 +30,14 @@
|
|
|
- # Define LSB functions
|
|
|
- . /lib/lsb/init-functions
|
|
|
+@@ -25,10 +25,18 @@
|
|
|
+ mkdir -p "$PIDDIR"
|
|
|
+
|
|
|
+ # Load the VERBOSE setting and other rcS variables
|
|
|
+-. /lib/init/vars.sh
|
|
|
++. /usr/lib/init/vars.sh
|
|
|
|
|
|
+ # Define LSB functions
|
|
|
+-. /lib/lsb/init-functions
|
|
|
++. /usr/lib/lsb/init-functions
|
|
|
++
|
|
|
+missing () {
|
|
|
+ local MESSAGE
|
|
|
+
|
|
@@ -75,10 +82,9 @@ Forwarded: not-yet
|
|
|
+ [ "$VERBOSE" != no ] && log_daemon_msg "$INSTANCE.conf" "$MESSAGE"
|
|
|
+ return 1
|
|
|
+}
|
|
|
-+
|
|
|
+
|
|
|
# Start a vblade instance
|
|
|
#
|
|
|
- # Return
|
|
|
@@ -37,8 +45,10 @@
|
|
|
# 1 if daemon was already running
|
|
|
# 2 if daemon could not be started
|