Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #26 from candlerb/serial
Browse files Browse the repository at this point in the history
Ubuntu: enable serial console
  • Loading branch information
murrant authored Aug 10, 2021
2 parents 360eb59 + 18a5472 commit fdaa0b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/ubuntu/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ apt -y clean

# Remove 5s grub timeout to speed up booting
sed -i -e 's/^GRUB_TIMEOUT=.*/GRUB_TIMEOUT=0/' \
-e 's/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet nosplash"/' \
-e 's/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="nosplash"/' \
-e 's/^GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX="console=tty1 console=ttyS0,115200"/' \
-e 's/^#?GRUB_TERMINAL=.*/GRUB_TERMINAL="console serial"/' \
/etc/default/grub
update-grub
exit 0

0 comments on commit fdaa0b8

Please sign in to comment.