1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add support for use_md_swap

This commit is contained in:
Kris Kennaway 2005-10-11 03:53:02 +00:00
parent 0faac9ad5f
commit b63664dd37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144893

View File

@ -73,6 +73,11 @@ for i in ${old2}; do
umount ${j} || cleanup_mount ${j}
done
fi
if [ "${use_md_swap}" = "1" ]; then
chrootnum=$(basename $i)
umount -f /dev/md${i}
mdconfig -d -u ${chrootnum}
fi
done
mkdir -p ${scratchdir}/old