aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 22:18:44 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-28 22:18:44 +0100
commite7fafa7a1515dda25ab5257e679f57f0e68b8b45 (patch)
tree776763cef30aa71fe38d87b6cbb3364264cdfc9b
parentSyntax error fix (diff)
downloadarch-installer-e7fafa7a1515dda25ab5257e679f57f0e68b8b45.tar.gz
arch-installer-e7fafa7a1515dda25ab5257e679f57f0e68b8b45.tar.bz2
arch-installer-e7fafa7a1515dda25ab5257e679f57f0e68b8b45.tar.xz
arch-installer-e7fafa7a1515dda25ab5257e679f57f0e68b8b45.tar.zst
arch-installer-e7fafa7a1515dda25ab5257e679f57f0e68b8b45.zip
Test
-rwxr-xr-xarch-installer.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch-installer.sh b/arch-installer.sh
index f9152e9..a7b0051 100755
--- a/arch-installer.sh
+++ b/arch-installer.sh
@@ -521,7 +521,7 @@ dialog --title "V. CONFIGURING LINUX"\
--infobox "Setting up the system"\
3 30
sleep 1
-chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS > /dev/null 2>&1
+chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
hwclock --systohc
sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
@@ -543,7 +543,7 @@ if [ "$isusr" = true ]; then
--infobox "Setting up the user"\
3 30
if [ "$isusrsudo" = true ]; then
- chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS > /dev/null 2>&1
+ chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS
useradd -m -g wheel -s /bin/$usrshell $usr
passwd $usr
$usrpwd
@@ -551,7 +551,7 @@ $usrpwd
sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
ARCH_CHROOT_CMDS
else
- chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS > /dev/null 2>&1
+ chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS
useradd -m -s /bin/$usrshell $usr
passwd $usr
$usrpwd
@@ -564,11 +564,11 @@ dialog --title "V. CONFIGURING LINUX"\
--infobox "Generating kernel image"\
3 30
if [ "$ltskern" = false ]; then
- chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS > /dev/null 2>&1
+ chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS
mkinitcpio -p linux
ARCH_CHROOT_CMDS
else
- chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS > /dev/null 2>&1
+ chroot /mnt/arch /bin/bash << ARCH_CHROOT_CMDS
mkinitcpio -p linux-lts
ARCH_CHROOT_CMDS
fi
@@ -577,7 +577,7 @@ dialog --title "V. CONFIGURING LINUX"\
--infobox "Configuring bootloader"\
3 30
if [ "$efimode" = true ]; then
- chroot /mnt/arch /bin/bash << ARCH_CHROOT_EFI_GRUB_CMDS > /dev/null 2>&1
+ chroot /mnt/arch /bin/bash << ARCH_CHROOT_EFI_GRUB_CMDS
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
@@ -587,7 +587,7 @@ if [ "$efimode" = true ]; then
echo "exit" >> /boot/efi/startup.nsh
ARCH_CHROOT_EFI_GRUB_CMDS
else
- chroot /mnt/arch /bin/bash << ARCH_CHROOT_BIOS_GRUB_CMDS > /dev/null 2>&1
+ chroot /mnt/arch /bin/bash << ARCH_CHROOT_BIOS_GRUB_CMDS
grub-install --target=i386-pc $drv
grub-mkconfig -o /boot/grub/grub.cfg
ARCH_CHROOT_BIOS_GRUB_CMDS