Ignore:
Timestamp:
Oct 22, 2005, 12:31:29 AM (15 years ago)
Author:
bcornec
Message:

Patch allowing to restore on ia64 till 3rd CD :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.04_berlios/mindi/aux-tools/sbin/format-and-kludge-vfat

    r30 r85  
    9494    exit 1
    9595fi
    96 LogIt "Fixing the boot block of $device with ms-sys" 2
    97 ms-sys -w $device 2> /tmp/fakv.log > /dev/null
    98 res=$?
    99 retval=$(($retval+$res))
    100 if [ "$res" -ne "0" ]; then
    101     LogIt "Errors occurred while fixing the boot block of $device!" 1
    102     cat /tmp/fakv.log
    103     exit 1
     96if [ "`arch`" != "ia64" ] ; then
     97    LogIt "Fixing the boot block of $device with ms-sys" 2
     98    ms-sys -w $device 2> /tmp/fakv.log > /dev/null
     99    res=$?
     100    retval=$(($retval+$res))
     101    if [ "$res" -ne "0" ]; then
     102            LogIt "Errors occurred while fixing the boot block of $device!" 1
     103            cat /tmp/fakv.log
     104            exit 1
     105    fi
    104106fi
    105107[ ! -e "/mnt/tmpK" ] && mkdir /mnt/tmpK
Note: See TracChangeset for help on using the changeset viewer.