summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-05-03 01:47:01 +0000
committererdgeist <erdgeist@erdgeist.org>2006-05-03 01:47:01 +0000
commitd6e294a4b21eb803606a0dd618a95faf8d2420f8 (patch)
tree7fe79ba87a4df665c6bb7ca007d181f5bc462f33 /ezjail-admin
parent1d1c2aa41b0361a12b6916e85a0e5df7fa1b6471 (diff)
geli detach added
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 52f8e05..267cd5d 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -42,8 +42,8 @@ detach_images () {
42 if [ "${ezjail_imagedevice}" ]; then 42 if [ "${ezjail_imagedevice}" ]; then
43 umount ${ezjail_rootdir} > /dev/null 43 umount ${ezjail_rootdir} > /dev/null
44 case ${ezjail_imagetype} in 44 case ${ezjail_imagetype} in
45 bde) gbde detach /dev/${ezjail_imagedevice} > /dev/null ;; 45 bde) gbde detach /dev/${ezjail_imagedevice} > /dev/null;;
46 eli) ;; 46 eli) geil detach /dev/${ezjail_imagedevice} > /dev/null;;
47 esac 47 esac
48 mdconfig -d -u ${ezjail_imagedevice} > /dev/null 48 mdconfig -d -u ${ezjail_imagedevice} > /dev/null
49 [ "$1" = "success" ] || rm -f ${ezjail_image} 49 [ "$1" = "success" ] || rm -f ${ezjail_image}