mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Use $md instead of md0, which fixes tests when md(4) device is already
present. - Correct message - we create GPT, not MBR. MFC after: 2 weeks
This commit is contained in:
parent
c979bd5e06
commit
e5fa43590a
1 changed files with 2 additions and 2 deletions
|
|
@ -124,8 +124,8 @@ geli detach ${md}a.eli
|
|||
# 1g to 20m, 2g to 30m and keyfile to tmp.key, and adding -B none
|
||||
# to geli init.
|
||||
|
||||
gpart create -s GPT md0 || echo -n "not "
|
||||
echo ok $i - "Installed an MBR on md0"
|
||||
gpart create -s GPT $md || echo -n "not "
|
||||
echo ok $i - "Installed an GPT on md0"
|
||||
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