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

This commit is contained in:
Marcel Moolenaar 2011-06-06 18:25:11 +00:00
parent b3a1dfb7e1
commit ad1de6722c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222766

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