new
This commit is contained in:
parent
b6fc5b20b5
commit
3c4b087c26
|
@ -7,9 +7,11 @@ packages() {
|
|||
}
|
||||
|
||||
config() {
|
||||
if [ "${ENC}" == "1" ] && ! [ "${ENCRYPTION_STYLE}" == "e" ]; then
|
||||
if ! grep -q "GRUB_ENABLE_CRYPTODISK" /etc/default/grub; then
|
||||
echo "GRUB_ENABLE_CRYPTODISK=y" >> /etc/default/grub
|
||||
if [ "${ENC}" == "1" ]; then
|
||||
if ! [ "${ENCRYPTION_STYLE}" == "e" ]; then
|
||||
if ! grep -q "GRUB_ENABLE_CRYPTODISK" /etc/default/grub; then
|
||||
echo "GRUB_ENABLE_CRYPTODISK=y" >> /etc/default/grub
|
||||
fi
|
||||
fi
|
||||
uuid=$(blkid -o value -s UUID ${TARGET_PHY_ID}-part${TARGET_PART})
|
||||
if ! grep -q rd.luks.uuid /etc/default/grub; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user