Changeset 1347 in MondoRescue
- Timestamp:
- Apr 25, 2007, 12:56:13 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r1337 r1347 62 62 INTERACTIVE="$mindi_interactive" 63 63 64 if [ $INTERACTIVE == "yes" ]; then64 if [ "$INTERACTIVE" = "yes" ]; then 65 65 # do you want to be prompted to write 66 66 # floppy images out to floppy disks? … … 690 690 for tool in $filelist ; do 691 691 lvmresolved=`readlink -f $tool` 692 if [ "$tool" = ="$lvmresolved" ]; then692 if [ "$tool" = "$lvmresolved" ]; then 693 693 echo "$tool" >> $tempfile 694 694 elif echo "$lvmresolved" | grep "lvmiopversion" &> /dev/null ; then … … 698 698 fi 699 699 toolstripped=`echo $tool | $AWK -F / '{print $NF;}'` 700 if [ "$lvmversion" = ="200" ]; then700 if [ "$lvmversion" = "200" ]; then 701 701 # pvdata and lvmcreate_initrd don't exist in LVM2 702 702 case "$toolstripped" in … … 1089 1089 1090 1090 # Make temporary modprobe.conf file if we are told so 1091 if [ $tmpmodprobe_flag == "Y" ] ; then1091 if [ "$tmpmodprobe_flag" = "Y" ] ; then 1092 1092 infile="$MINDI_TMP/modprobe.conf.mindi" 1093 1093 find /etc/modprobe.d -maxdepth 1 -name "*" -xtype f -print0 | xargs -0 cat > $infile … … 1114 1114 cd / 1115 1115 # Remove temporary modprobe.conf file if we have created one 1116 if [ $tmpmodprobe_flag == "Y" ] ; then1116 if [ "$tmpmodprobe_flag" = "Y" ] ; then 1117 1117 rm -f $infile 1118 1118 fi … … 2932 2932 # /etc/modprobe.conf which is exactly what module-init-tools does. The temporary 2933 2933 # modprobe.conf file is created in MakeModuleLoadingScript. AL041128. 2934 if [ -d "/etc/modprobe.d" ] && [ `uname -r | cut -c1-3` == "2.6" ] ; then2934 if [ -d "/etc/modprobe.d" ] && [ "`uname -r | cut -c1-3`" = "2.6" ] ; then 2935 2935 TMPMODPROBE_FLAG="Y" 2936 2936 else … … 3228 3228 Die "Please use -k <path> to specify kernel." 3229 3229 fi 3230 if [ $INTERACTIVE == "yes" ]; then3230 if [ "$INTERACTIVE" = "yes" ]; then 3231 3231 echo -en "Do you want to use your own kernel to build the boot disk ([y]/n) ?" 3232 3232 read ch … … 3246 3246 fi 3247 3247 fi 3248 if [ _"$MONDO_SHARE" = _"" ] && [ $INTERACTIVE= "yes" ] && [ "$ARCH" != "ia64" ] ; then3248 if [ _"$MONDO_SHARE" = _"" ] && [ "$INTERACTIVE" = "yes" ] && [ "$ARCH" != "ia64" ] ; then 3249 3249 echo -en "Would you like to use LILO (instead of syslinux)\nfor your boot CD/floppies (y/[n]) ?" 3250 3250 read ch
Note:
See TracChangeset
for help on using the changeset viewer.