diff options
Diffstat (limited to 'source/a/cryptsetup/rc.luks')
-rw-r--r-- | source/a/cryptsetup/rc.luks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/a/cryptsetup/rc.luks b/source/a/cryptsetup/rc.luks index 243244969..7125b6fed 100644 --- a/source/a/cryptsetup/rc.luks +++ b/source/a/cryptsetup/rc.luks @@ -83,7 +83,7 @@ if [ -f /etc/crypttab -a -x /sbin/cryptsetup ]; then # If any of the volumes is to be used as encrypted swap, # then encrypt it using a random key and run mkswap: echo "Creating encrypted swap volume '${LUKS}' on device '$DEV':" - /sbin/cryptsetup --cipher=aes --key-file=/dev/urandom --key-size=256 create $LUKS $DEV + /sbin/cryptsetup --batch-mode --cipher=aes --key-file=/dev/urandom --key-size=256 create $LUKS $DEV mkswap /dev/mapper/$LUKS fi done 3< <(grep -vE '^(#|$)' /etc/crypttab) |