From c16d9e4a2325ccd006ec286e9559ad9045942a62 Mon Sep 17 00:00:00 2001 From: simono41 Date: Tue, 1 May 2018 02:29:47 +0200 Subject: [PATCH] fix --- arch-install | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch-install b/arch-install index 46c98c0..3c76832 100755 --- a/arch-install +++ b/arch-install @@ -280,14 +280,6 @@ function installation { # module and hooks parameter="base udev " - if [ "${offline}" != "n" ]; then - if [ "${verschluesselung}" == "y" ]; then - parameter="${parameter}plymouth-encrypt " - else - parameter="${parameter}plymouth " - fi - fi - if [ "${swap}" != "n" ]; then parameter="${parameter}resume " fi @@ -308,6 +300,14 @@ function installation { parameter="${parameter}usbsecret " fi + if [ "${offline}" != "n" ]; then + if [ "${verschluesselung}" == "y" ]; then + parameter="${parameter}plymouth-encrypt " + else + parameter="${parameter}plymouth " + fi + fi + echo "" if [ "${version}" == "libre" ] || [ "${offline}" == "n" ]; then echo "MODULES=\"i915 radeon nouveau ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${mountpoint}/etc/mkinitcpio.conf