Update lsb-base.README.Debian.
authorDidier Raboud <odyx@debian.org>
Sat, 31 Mar 2012 15:48:19 +0000 (17:48 +0200)
committerDidier Raboud <odyx@debian.org>
Sat, 31 Mar 2012 16:48:13 +0000 (18:48 +0200)
Signed-off-by: Didier Raboud <odyx@debian.org>
debian/lsb-base.README.Debian

index ed4911bbb4be53e743f32db8424b679eb723849b..26815312dd5c1d5056bed859957e95edd602bba1 100644 (file)
@@ -7,10 +7,15 @@ specific to Debian and (in some cases) other derived distributions.
 
   - log_daemon_msg "Starting/stopping long daemon name" "daemond"
 
-    Log starting/stopping of daemons.  On Debian, outputs:
+    Log starting/stopping of daemons. On Debian, outputs:
 
     "Starting/stopping long daemon name: daemond"
 
+    and leaves the cursor at the end of the line. If "Fancy output" is
+    enabled, outputs:
+
+    "[....] Starting/stopping long daemon name: daemond"
+
     and leaves the cursor at the end of the line.
 
   - log_progress_msg "daemon2d"
@@ -29,6 +34,11 @@ specific to Debian and (in some cases) other derived distributions.
     returned by this function; unless trapped, this may end your init
     script depending on whether or not set -e is used.
 
+    If "Fancy output" is enabled, it will store the cursor position,
+    move it to the start of the line, write a colored "[ ok ]", "[FAIL]"
+    or "[warn]" and restore the cursor position. This has the effect of
+    updating the "[....]" printed by log_daemon_msg.
+
   - log_action_msg "Setting VARIABLE to VALUE"
 
     Log an atomic action by your init script.  Typically, this is the
@@ -97,10 +107,6 @@ specific to Debian and (in some cases) other derived distributions.
         status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
       ;;
 
-A deprecated function, log_start_msg, is also provided for
-compatibility with a few older packages and a derived distribution.
-This may eventually disappear.
-
 To use these functions, source /lib/lsb/init-functions at the
 beginning of your (Bourne sh or compatible) init script.
 
@@ -179,3 +185,4 @@ function; the "pre" functions operate before any output, while the
 "post" functions operate after the output is produced.
 
  -- Chris Lawrence <lawrencc@debian.org>, Sat, 18 Sep 2010 17:09:57 -0500
+ -- Didier Raboud <odyx@debian.org>  Sat, 31 Mar 2012 17:03:10 +0200