Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Last active August 29, 2015 14:14
Show Gist options
  • Save yuuichi-fujioka/213b057cb14e572f5227 to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/213b057cb14e572f5227 to your computer and use it in GitHub Desktop.
ubuntu with serial console. ttyS0.conf is /etc/init/ttyS0.conf
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -L 115200 ttyS0 vt102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment