summaryrefslogtreecommitdiff
path: root/archauto.sh
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-02-18 18:47:22 +0100
committerAndreas Baumann <abaumann@yahoo.com>2013-02-18 18:47:22 +0100
commit07e7df1393d4331c6d62f0106294798911349564 (patch)
treea56df2b0e36e3d52034debb39e37865fd232cafc /archauto.sh
parentd17ba13e8580b66aeaa4dd02b759ee6b6ac59801 (diff)
downloadarchauto-07e7df1393d4331c6d62f0106294798911349564.tar.gz
archauto-07e7df1393d4331c6d62f0106294798911349564.tar.bz2
first working version
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