Changeset 2580 in MondoRescue for branches/2.2.9/mindi/rootfs/sbin/init
- Timestamp:
- Feb 12, 2010, 5:12:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/rootfs/sbin/init
r2564 r2580 404 404 rm -f /tmp/restorevgs 405 405 for d in $MINDI_EXCLUDE_DEVS ; do 406 echo " == $d"406 echo "LVM exclusion == $d" 407 407 EXCLUDE_VGS=`grep " $d" /tmp/i-want-my-lvm | grep vgcreate | awk '{print $4}'` 408 408 vg=`echo $EXCLUDE_VGS | sed "s/ /|/g"` … … 746 746 if [ "`grep -i excludedevs /proc/cmdline`" ]; then 747 747 export MINDI_EXCLUDE_DEVS="`cat /proc/cmdline | sed 's~.*excludedevs=\"\(.*\)\".*~\1~'` mondonone" 748 for d in $MINDI_EXCLUDE_DEVS ; do 749 echo "Mountlist exclusion == $d" 750 perl -i -ne 'print $_ unless m~$d~' /tmp/mountlist.txt 751 done 748 752 else 749 753 export MINDI_EXCLUDE_DEVS=" " … … 821 825 RstHW 822 826 echo "Starting potential Raid/Multipath ..." 827 [ -e "/tmp/mountlist.txt" ] && cp -f /tmp/mountlist.txt /tmp/mountlist.original 823 828 PauseForRaids 824 829 StartRaids … … 836 841 cp -af /dev/md2 /dev/md/2 2> /dev/null 837 842 fi 838 [ -e "/tmp/mountlist.txt" ] && cp -f /tmp/mountlist.txt /tmp/mountlist.original839 843 840 844 if ! [ "`grep -i "pxe" /proc/cmdline`" ] ; then
Note:
See TracChangeset
for help on using the changeset viewer.