mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Don't clobber the hosts /etc/fstab. $1 is empty at this point.
This commit is contained in:
parent
b3a1dfb7e1
commit
ad1de6722c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222766
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue