#!/bin/sh # Enable getty on UART echo "ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100" >> /etc/inittab