Changeset 1342 in MondoRescue
- Timestamp:
- Apr 25, 2007, 12:29:55 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.3/mindi/mindi
r1336 r1342 679 679 for tool in $filelist ; do 680 680 lvmresolved=`readlink -f $tool` 681 if [ "$tool" = ="$lvmresolved" ]; then681 if [ "$tool" = "$lvmresolved" ]; then 682 682 echo "$tool" >> $tempfile 683 683 elif echo "$lvmresolved" | grep "lvmiopversion" &> /dev/null ; then … … 687 687 fi 688 688 toolstripped=`echo $tool | $AWK -F / '{print $NF;}'` 689 if [ "$lvmversion" = ="200" ]; then689 if [ "$lvmversion" = "200" ]; then 690 690 # pvdata and lvmcreate_initrd don't exist in LVM2 691 691 case "$toolstripped" in … … 1131 1131 1132 1132 # Make temporary modprobe.conf file if we are told so 1133 if [ $tmpmodprobe_flag == "Y" ] ; then1133 if [ "$tmpmodprobe_flag" = "Y" ] ; then 1134 1134 infile="$MINDI_TMP/modprobe.conf.mindi" 1135 1135 find /etc/modprobe.d -maxdepth 1 -name "*" -xtype f -print0 | xargs -0 cat > $infile … … 1156 1156 cd / 1157 1157 # Remove temporary modprobe.conf file if we have created one 1158 if [ $tmpmodprobe_flag == "Y" ] ; then1158 if [ "$tmpmodprobe_flag" = "Y" ] ; then 1159 1159 rm -f $infile 1160 1160 fi … … 2813 2813 # /etc/modprobe.conf which is exactly what module-init-tools does. The temporary 2814 2814 # modprobe.conf file is created in MakeModuleLoadingScript. AL041128. 2815 if [ -d "/etc/modprobe.d" ] && [ `uname -r | cut -c1-3` = ="2.6" ] ; then2815 if [ -d "/etc/modprobe.d" ] && [ `uname -r | cut -c1-3` = "2.6" ] ; then 2816 2816 TMPMODPROBE_FLAG="Y" 2817 2817 else
Note:
See TracChangeset
for help on using the changeset viewer.