mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Don't hardcode md0 in message, use $md instead.
Reported by: Ronald Klop <ronald-freebsd8@klop.yi.org>
This commit is contained in:
parent
5b098ddce2
commit
5c181adf40
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue