diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2005-10-11 03:53:02 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2005-10-11 03:53:02 +0000 |
commit | b63664dd37ad87f7efa63b6c83d26a1cdb3c4b3f (patch) | |
tree | fe58bc815429f5692693700abd9d768c899adc92 /Tools | |
parent | 0faac9ad5fc61b28094cad1345559a3ae1845196 (diff) | |
download | ports-b63664dd37ad87f7efa63b6c83d26a1cdb3c4b3f.tar.gz ports-b63664dd37ad87f7efa63b6c83d26a1cdb3c4b3f.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/cleanup-chroots | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/cleanup-chroots b/Tools/portbuild/scripts/cleanup-chroots index 4254318c9e7f..09c3acb230e9 100755 --- a/Tools/portbuild/scripts/cleanup-chroots +++ b/Tools/portbuild/scripts/cleanup-chroots @@ -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 |