summaryrefslogtreecommitdiff
path: root/archauto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'archauto.sh')
-rwxr-xr-xarchauto.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/archauto.sh b/archauto.sh
index 40ad7f7..cd87e91 100755
--- a/archauto.sh
+++ b/archauto.sh
@@ -44,7 +44,7 @@ arch-chroot /mnt grub-install --target=i386-pc --recheck ${INSTALL_DRIVE}
cp /mnt/usr/share/locale/en@quot/LC_MESSAGES/grub.mo /mnt/boot/grub/locale/en.mo
sed 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="modprobe.blacklist=cirrus"/g' /mnt/etc/default/grub
sed 's/GRUB_GFXMODE=auto/GRUB_GFXMODE=text/g' /mnt/etc/default/grub
-sed 's/#GRUB_TERMINAL_OUTPUT=console/GRUB_TERMINAL_OUTPUT=console' /mnt/etc/default/grub
+sed 's/#GRUB_TERMINAL_OUTPUT=console/GRUB_TERMINAL_OUTPUT=console/g' /mnt/etc/default/grub
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
@@ -58,3 +58,7 @@ echo "archiso" > /mnt/etc/hostname
arch-chroot /mnt sh -c "echo 'root:xx' | chpasswd"
arch-chroot /mnt systemctl enable dhcpcd@enp0s3.service
+
+echo "Done."
+
+systemctl poweroff