r903 - lvm2/trunk/debian

Bastian Blank waldi at alioth.debian.org
Fri May 4 11:32:10 UTC 2012


Author: waldi
Date: Fri May  4 11:32:10 2012
New Revision: 903

Log:
* debian/changelog: Update.
* debian/lvm2.init: Drop non-error output.

Modified:
   lvm2/trunk/debian/changelog
   lvm2/trunk/debian/lvm2.init

Modified: lvm2/trunk/debian/changelog
==============================================================================
--- lvm2/trunk/debian/changelog	Fri May  4 11:27:10 2012	(r902)
+++ lvm2/trunk/debian/changelog	Fri May  4 11:32:10 2012	(r903)
@@ -2,6 +2,7 @@
 
   * Fix build-dependency.
   * Lower priority of libdevmapper1.02.1 to match overrides.
+  * Silence init script.
 
  -- Bastian Blank <waldi at debian.org>  Fri, 04 May 2012 13:25:39 +0200
 

Modified: lvm2/trunk/debian/lvm2.init
==============================================================================
--- lvm2/trunk/debian/lvm2.init	Fri May  4 11:27:10 2012	(r902)
+++ lvm2/trunk/debian/lvm2.init	Fri May  4 11:32:10 2012	(r903)
@@ -19,18 +19,18 @@
 
 do_start()
 {
-	modprobe dm-mod 2> /dev/null || :
-	/sbin/vgscan --ignorelockingfailure || :
-	/sbin/vgchange -aly --ignorelockingfailure || return 2
+	modprobe dm-mod 2>/dev/null || :
+	/sbin/vgscan --ignorelockingfailure >/dev/null || :
+	/sbin/vgchange -aly --ignorelockingfailure >/dev/null || return 2
 }
 
 case "$1" in
   start)
-	log_begin_msg "Setting up LVM Volume Groups"
+	log_action_begin_msg "Setting up LVM Volume Groups"
 	do_start
 	case "$?" in
-		0|1) log_end_msg 0 ;;
-		2) log_end_msg 1 ;;
+		0|1) log_action_end_msg 0 ;;
+		2) log_action_end_msg 1 ;;
 	esac
 	;;
   stop|restart|force-reload|status)



More information about the pkg-lvm-commits mailing list