Don't hardcode md0 in message, use $md instead.

Reported by:	Ronald Klop <ronald-freebsd8@klop.yi.org>
This commit is contained in:
Pawel Jakub Dawidek 2010-09-25 15:37:41 +00:00
parent 5b098ddce2
commit 5c181adf40

View File

@ -125,7 +125,7 @@ geli detach ${md}a.eli
# to geli init.
gpart create -s GPT $md || echo -n "not "
echo ok $i - "Installed an GPT on md0"
echo ok $i - "Installed an GPT on ${md}"
i=$((i + 1))
gpart add -s 20m -t freebsd-ufs -i 1 $md || echo -n "not "
echo ok $i - "Added a 20m partition in slot 1"