mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
This small patch updates the "geli setkey" flags pc-sysinstall uses
when saving a users passphrase, to make it work in HEAD with recent geli improvements. Submitted by: Kris Moore PR: 151002
This commit is contained in:
parent
85080d2d68
commit
c4201e3f33
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ setup_geli_loading()
|
|||
|
||||
# If we have a passphrase, set it up now
|
||||
if [ -e "${PARTDIR}-enc/${PART}-encpass" ] ; then
|
||||
cat ${PARTDIR}-enc/${PART}-encpass | geli setkey -S -n 0 -p -k ${KEYFILE} -K ${KEYFILE} ${PART}
|
||||
geli setkey -J ${PARTDIR}-enc/${PART}-encpass -n 0 -p -k ${KEYFILE} -K ${KEYFILE} ${PART}
|
||||
geli configure -b ${PART}
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue