diff options
author | marcel <marcel@FreeBSD.org> | 2011-06-06 18:25:11 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-06-06 18:25:11 +0000 |
commit | d64e8f190560b3ab8442a3ede043c6b5d8438dbb (patch) | |
tree | c8385fb8ec597ce5c62e8622bf817ad5e93810d2 /release | |
parent | 2b4f16d8ca90ab41ab0b01cc24172b2746107ef6 (diff) | |
download | FreeBSD-src-d64e8f190560b3ab8442a3ede043c6b5d8438dbb.zip FreeBSD-src-d64e8f190560b3ab8442a3ede043c6b5d8438dbb.tar.gz |
Don't clobber the hosts /etc/fstab. $1 is empty at this point.
Diffstat (limited to 'release')
-rw-r--r-- | release/ia64/mkisoimages.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/ia64/mkisoimages.sh b/release/ia64/mkisoimages.sh index 5dac51b..f17185b 100644 --- a/release/ia64/mkisoimages.sh +++ b/release/ia64/mkisoimages.sh @@ -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 |