Skip to content

Instantly share code, notes, and snippets.

@adamcik
Created February 23, 2011 00:29
Show Gist options
  • Save adamcik/839743 to your computer and use it in GitHub Desktop.
Save adamcik/839743 to your computer and use it in GitHub Desktop.
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS1,115200n8"
GRUB_TERMINAL="serial console"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=1 --word=8 --parity=no --stop=1"
# ttyS1 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -L 115200 ttyS1 vt102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment