diff options
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 758f5844..4755d0a9 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -193,7 +193,7 @@ init_crypto() { && /usr/bin/rhgb-client --ping ; then /usr/bin/rhgb-client --quit fi - if cryptsetup isLuks "$src" 2>/dev/null; then + if [ -z "$makeswap" -a cryptsetup isLuks "$src" 2>/dev/null ]; then if key_is_random "$key"; then echo $"$dst: LUKS requires non-random key, skipping" ret=1 |