mirror of https://github.com/Chizi123/Scripts.git

Joel Grunbaum
2020-03-29 4f26415ff44d1f4d731b6def4fc65d1eb4dc38f9
inplace sed
1 files modified
2 ■■■ changed files
arch-install.sh 2 ●●● patch | view | raw | blame | history
arch-install.sh
@@ -35,7 +35,7 @@
# Make boot files and setup grub
arch-chroot /mnt mkinitcpio -P
arch-chroot /mnt sh -c "echo root:$RPASS | chpasswd"
sed "s/GRUB_TIMEOUT=\d*/GRUB_TIMEOUT=\"0\"/" /mnt/etc/default/grub
sed -i "s/GRUB_TIMEOUT=\d*/GRUB_TIMEOUT=\"0\"/" /mnt/etc/default/grub
arch-chroot /mnt grub-install $DISK
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg