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