From 4f26415ff44d1f4d731b6def4fc65d1eb4dc38f9 Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Sun, 29 Mar 2020 02:39:42 +0000 Subject: [PATCH] inplace sed --- arch-install.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch-install.sh b/arch-install.sh index cd9d22d..101652f 100644 --- a/arch-install.sh +++ b/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 -- Gitblit v1.9.3