From f67a0b6cb137704b2382865bf5fbcb6c32d35798 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Thu, 4 May 2006 14:02:17 +0000 Subject: Added CVS Id Tag --- ezjail-admin | 7 ++++--- ezjail.sh | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ezjail-admin b/ezjail-admin index 2c6e7ee..1a560e0 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -1,4 +1,5 @@ #!/bin/sh +# $Id$ # ugly: this variable is set during port install time ezjail_prefix=EZJAIL_PREFIX @@ -251,13 +252,13 @@ create) if [ -n "${ezjail_imageparams}" ] ; then ezjail_attachparams=`echo $0 _parse_g${ezjail_imagetype}_attach_args_ ${ezjail_imageparams} | /bin/sh ` [ 0 -eq $? ] || exerr "processing of ezjail_imageparams failed" - fi - case "${ezjail_imagetype}" in + fi + case "${ezjail_imagetype}" in bde) init_cmd="gbde init /dev/${ezjail_imagedevice} ${ezjail_imageparams}" attach_cmd="gbde attach /dev/${ezjail_imagedevice} ${ezjail_attachparams}";; eli) init_cmd="geli init ${ezjail_imageparams} /dev/${ezjail_imagedevice}" attach_cmd="geli attach ${ezjail_attachparams} /dev/${ezjail_imagedevice}";; - esac + esac echo "Initialising crypto device. Enter a new passphrase twice... (if necessary)" ( echo ${init_cmd} | /bin/sh ) || detach_images || exerr "Error: Could not initialise crypto image." diff --git a/ezjail.sh b/ezjail.sh index 13625fe..dbf78ca 100755 --- a/ezjail.sh +++ b/ezjail.sh @@ -1,4 +1,5 @@ #!/bin/sh +# $Id$ # # $FreeBSD$ # -- cgit v1.2.3