# For the Marvell units (and probably many other # embedded headless ARM devices) we want to open a serial login # on ttyS0. # Actually the 'pcansi' is the most feature rich (works with 'dialog') # which the Slackware curses-based menus use) terminal type I've # seen so far, but vt100 is more standard. # egrep -q "Marvell" /proc/cpuinfo > /dev/null 2>&1 && \ sed -i '/^# Local serial lines:/ a\s0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100' etc/inittab.new