This commit is contained in:
simono41 2018-05-01 02:29:47 +02:00
parent 90bc1af3bf
commit c16d9e4a23

View file

@ -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