#!/bin/sh

# For the Marvell SheevaPlug unit (and probably many other
# embedded headless ARM devices) we want to open a serial login 
# on ttyS0, which is done in /etc/inittab.
# We also need to be able to login as root ;-)
#
egrep -q "SheevaPlug" /proc/cpuinfo > /dev/null 2>&1 && \
sed -i 's?^#ttyS0?ttyS0?' etc/securetty.new

