SVN: geninitrd/trunk/mod-md.sh
glen
glen at pld-linux.org
Sat Oct 15 15:49:58 CEST 2011
Author: glen
Date: Sat Oct 15 15:49:57 2011
New Revision: 12377
Modified:
geninitrd/trunk/mod-md.sh
Log:
$DEBUGINIRD is initrd runtime var, not gentime var
Modified: geninitrd/trunk/mod-md.sh
==============================================================================
--- geninitrd/trunk/mod-md.sh (original)
+++ geninitrd/trunk/mod-md.sh Sat Oct 15 15:49:57 2011
@@ -183,11 +183,13 @@
done
done
- echo "mdassemble" | add_linuxrc
+ add_linuxrc <<-EOF
+ mdassemble
if [ "$DEBUGINITRD" ]; then
- echo "[ -e /proc/mdstat ] && echo "/proc/mdstat contents:" && cat /proc/mdstat" | add_linuxrc
+ [ -e /proc/mdstat ] && echo "/proc/mdstat contents:" && cat /proc/mdstat
fi
+ EOF
# needed to determine md-version
if [ "$do_md0" -eq 1 ]; then
More information about the pld-cvs-commit
mailing list