[Pkg-sysvinit-commits] r1859 - in sysvinit/trunk/debian: . src/initscripts/etc/init.d

Petter Reinholdtsen pere at alioth.debian.org
Tue Mar 23 07:17:02 UTC 2010


Author: pere
Date: 2010-03-23 07:17:00 +0000 (Tue, 23 Mar 2010)
New Revision: 1859

Modified:
   sysvinit/trunk/debian/changelog
   sysvinit/trunk/debian/src/initscripts/etc/init.d/bootlogd
Log:
Quiet down init.d/bootlogd when VERBOSE=no.

Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog	2010-03-23 07:04:50 UTC (rev 1858)
+++ sysvinit/trunk/debian/changelog	2010-03-23 07:17:00 UTC (rev 1859)
@@ -5,6 +5,7 @@
   * Update Standards-Version from 3.8.3 to 3.8.4.  No change needed.
   * Update homepage in control file to the new home
     http://savannah.nongnu.org/projects/sysvinit .
+  * Quiet down init.d/bootlogd when VERBOSE=no.
 
  -- Petter Reinholdtsen <pere at debian.org>  Tue, 23 Mar 2010 00:32:47 +0100
 

Modified: sysvinit/trunk/debian/src/initscripts/etc/init.d/bootlogd
===================================================================
--- sysvinit/trunk/debian/src/initscripts/etc/init.d/bootlogd	2010-03-23 07:04:50 UTC (rev 1858)
+++ sysvinit/trunk/debian/src/initscripts/etc/init.d/bootlogd	2010-03-23 07:17:00 UTC (rev 1859)
@@ -46,7 +46,7 @@
 case "$ACTION" in
   start)
   	# PATH is set above
-	log_daemon_msg "Starting $DESC" "$NAME"
+	[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
 	if [ -d /proc/1/. ]
 	then
 		umask 027
@@ -57,15 +57,15 @@
 		$DAEMON $BOOTLOGD_OPTS
 		ES=$?
 	fi
-	log_end_msg $ES
+	[ "$VERBOSE" != no ] && log_end_msg $ES
 	;;
   stop)
 	PATH=/bin:/sbin:/usr/bin:/usr/sbin
-	log_daemon_msg "Stopping $DESC" "$NAME"
+	[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
 	start-stop-daemon --oknodo --stop --quiet --exec $DAEMON
 	ES=$?
 	sleep 1
-	log_end_msg $ES
+	[ "$VERBOSE" != no ] && log_end_msg $ES
 	if [ -f /var/log/boot ] && [ -f /var/log/boot~ ]
 	then
 		[ "$VERBOSE" = no ] || log_action_begin_msg "Moving boot log file"




More information about the Pkg-sysvinit-commits mailing list