diff options
author | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-29 19:06:55 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p6.le-101.fr> | 2019-11-29 19:06:55 +0100 |
commit | 223782bd401e7a6264b1a32ab5d8d963a5192e57 (patch) | |
tree | 16a5196895bfa9d004baef725367763da9e61cf0 /arch-installer.sh | |
parent | Test (diff) | |
download | arch-installer-223782bd401e7a6264b1a32ab5d8d963a5192e57.tar.gz arch-installer-223782bd401e7a6264b1a32ab5d8d963a5192e57.tar.bz2 arch-installer-223782bd401e7a6264b1a32ab5d8d963a5192e57.tar.xz arch-installer-223782bd401e7a6264b1a32ab5d8d963a5192e57.tar.zst arch-installer-223782bd401e7a6264b1a32ab5d8d963a5192e57.zip |
Better indent
Diffstat (limited to 'arch-installer.sh')
-rwxr-xr-x | arch-installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-installer.sh b/arch-installer.sh index f36891d..ab47112 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -539,7 +539,7 @@ sed -i 's/#ForwardToSyslog=no/ForwardToSyslog=yes/' /etc/systemd/journald.conf if [ "$isusr" = true ]; then if [ "$isusrsudo" = true ]; then useradd -m -g wheel -s /bin/$usrshell $usr; sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers; else useradd -m -s /bin/$usrshell $usr; fi; passwd $usr $usrpwd $usrpwd - fi +fi if [ "$ltskern" = false ]; then mkinitcpio -p linux; else mkinitcpio -p linux-lts; fi if [ "$efimode" = true ]; then; grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --recheck; mkdir -p /boot/grub; grub-mkconfig -o /boot/grub/grub.cfg; mkdir -p /boot/efi/EFI/BOOT; cp /boot/efi/EFI/GRUB/grubx64.efi /boot/efi/EFI/BOOT/BOOTX64.EFI; echo "bcf boot add 1 fs0:\\EFI\\GRUB\\grubx64.efi \"GRUB bootloader\"" > /boot/efi/startup.nsh; echo "exit" >> /boot/efi/startup.nsh; else grub-install --target=i386-pc $drv; grub-mkconfig -o /boot/grub/grub.cfg ARCH_CHROOT_CMDS |