fix
This commit is contained in:
parent
7046fff5ab
commit
8173fcf557
1 changed files with 9 additions and 8 deletions
17
arch-install
17
arch-install
|
@ -296,19 +296,20 @@ function installation {
|
||||||
parameter="${parameter}usbsecret "
|
parameter="${parameter}usbsecret "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${verschluesselung}" == "y" ]; then
|
if [ "${offline}" != "n" ]; then
|
||||||
parameter="${parameter}plymouth-encrypt "
|
if [ "${verschluesselung}" == "y" ]; then
|
||||||
else
|
parameter="${parameter}plymouth-encrypt "
|
||||||
parameter="${parameter}plymouth "
|
else
|
||||||
|
parameter="${parameter}plymouth "
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
if [ "${version}" == "libre" ]; then
|
if [ "${version}" == "libre" ] || [ "${offline}" == "n" ]; then
|
||||||
echo "MODULES=\"i915 radeon nouveau ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${mountpoint}/etc/mkinitcpio.conf
|
echo "MODULES=\"i915 radeon nouveau ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${mountpoint}/etc/mkinitcpio.conf
|
||||||
echo "HOOKS=\"${parameter}\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
echo "HOOKS=\"${parameter}\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
||||||
echo "COMPRESSION=\"lz4\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
echo "COMPRESSION=\"lz4\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
||||||
echo "FILES=\"/etc/modprobe.d/blacklist-floppy.conf /etc/modprobe.d/blacklist_nouveau.conf\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
echo "FILES=\"/etc/modprobe.d/blacklist-floppy.conf\"" >> ${mountpoint}/etc/mkinitcpio.conf
|
||||||
|
|
||||||
else
|
else
|
||||||
#echo "MODULES=\"i915 radeon ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${mountpoint}/etc/mkinitcpio.conf
|
#echo "MODULES=\"i915 radeon ata_generic ata_piix nls_cp437 vfat ext4 btrfs\"" > ${mountpoint}/etc/mkinitcpio.conf
|
||||||
|
@ -1112,7 +1113,7 @@ fi
|
||||||
|
|
||||||
# benutzerwechsel
|
# benutzerwechsel
|
||||||
|
|
||||||
if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ]; then
|
if [ "${name}" != "noinstall" ] && [ -z "${installationsfehler}" ] && [ "${offline}" != "n" ]; then
|
||||||
#arch-chroot ${mountpoint} usermod -l "${name}" user1
|
#arch-chroot ${mountpoint} usermod -l "${name}" user1
|
||||||
#arch-chroot ${mountpoint} usermod -d /home/"${name}" -m "${name}"
|
#arch-chroot ${mountpoint} usermod -d /home/"${name}" -m "${name}"
|
||||||
arch-chroot ${mountpoint} chfn -f "${name}" user1
|
arch-chroot ${mountpoint} chfn -f "${name}" user1
|
||||||
|
|
Loading…
Reference in a new issue