Don't clobber the hosts /etc/fstab. $1 is empty at this point.

This commit is contained in:
marcel 2011-06-06 18:25:11 +00:00
parent 2b4f16d8ca
commit d64e8f1905

View File

@ -72,8 +72,8 @@ else
BOOTOPTS=""
fi
echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > $1/etc/fstab
echo "/dev/iso9660/$LABEL / cd9660 ro 0 0" > $BASE/etc/fstab
makefs -t cd9660 $BOOTOPTS -o rockridge -o label=$LABEL $NAME $BASE $*
rm $BASE/etc/fstab
rm -f $EFIPART
rm $1/etc/fstab
exit 0