[Pkg-sysvinit-commits] r447 - sysvinit/trunk/debian/initscripts/etc/init.d

Thomas Hood jdthood-guest at costa.debian.org
Sat Dec 24 20:21:40 UTC 2005


Author: jdthood-guest
Date: 2005-12-24 20:21:39 +0000 (Sat, 24 Dec 2005)
New Revision: 447

Modified:
   sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh
Log:
Filter mount output more intelligently

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh	2005-12-24 16:17:44 UTC (rev 446)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/mountall.sh	2005-12-24 20:21:39 UTC (rev 447)
@@ -44,8 +44,9 @@
 		fi
 	else
 		log_action_begin_msg "Mounting local filesystems"
-		do_mount >/dev/null
+		MOUNT_OUT="$(do_mount)"
 		ES=$?
+		echo "$MOUNT_OUT" | sed -e '/already mounted/d' -e '/nothing was mounted/d'
 		if [ 0 = "$ES" ] || [ 96 = "$ES" ] || [ 64 = "$ES" ]
 		then
 			log_action_end_msg 0




More information about the Pkg-sysvinit-commits mailing list