- Timestamp:
- Jun 20, 2006, 1:32:07 PM (19 years ago)
- Location:
- branches
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0.8/mindi/mindi
r674 r675 777 777 for tool in $filelist ; do 778 778 lvmresolved=`ResolveSoftlink $tool` 779 if echo "$lvmresolved" | grep "lvmiopversion" &> /dev/null ; then 779 if [ "$tool" == "$lvmresolved" ]; then 780 echo "$tool" >> $tempfile 781 elif echo "$lvmresolved" | grep "lvmiopversion" &> /dev/null ; then 780 782 if [ "$lvmversion" = "" ] ; then 781 783 lvmversion=`$lvmresolved` … … 783 785 fi 784 786 toolstripped=`echo $tool | $AWK -F / '{print $NF;}'` 787 if [ "$lvmversion" == "200" ]; then 788 # pvdata and lvmcreate_initrd don't exist in LVM2 789 case "$toolstripped" in 790 "pvdata") 791 continue 792 ;; 793 "lvmcreate_initrd") 794 continue 795 ;; 796 esac 797 fi 785 798 toolpath="/sbin/lvm-"$lvmversion"/"$toolstripped 786 799 if [ -e "$toolpath" ] ; then -
branches/stable/mindi/mindi
r674 r675 777 777 for tool in $filelist ; do 778 778 lvmresolved=`ResolveSoftlink $tool` 779 if echo "$lvmresolved" | grep "lvmiopversion" &> /dev/null ; then 779 if [ "$tool" == "$lvmresolved" ]; then 780 echo "$tool" >> $tempfile 781 elif echo "$lvmresolved" | grep "lvmiopversion" &> /dev/null ; then 780 782 if [ "$lvmversion" = "" ] ; then 781 783 lvmversion=`$lvmresolved` … … 783 785 fi 784 786 toolstripped=`echo $tool | $AWK -F / '{print $NF;}'` 787 if [ "$lvmversion" == "200" ]; then 788 # pvdata and lvmcreate_initrd don't exist in LVM2 789 case "$toolstripped" in 790 "pvdata") 791 continue 792 ;; 793 "lvmcreate_initrd") 794 continue 795 ;; 796 esac 797 fi 785 798 toolpath="/sbin/lvm-"$lvmversion"/"$toolstripped 786 799 if [ -e "$toolpath" ] ; then
Note:
See TracChangeset
for help on using the changeset viewer.