ubuntu: finish script, not sure why serial was twice checked

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/10/merge
Robert Nelson 12 years ago
parent 2f0080c0d7
commit 823b648a48

@ -100,16 +100,14 @@ if [ "x${boot_image}" == "xbootm" ] ; then
fi fi
if [ "x${serial_tty}" != "x" ] ; then if [ "x${serial_tty}" != "x" ] ; then
if [ "x${serial_tty}" != "x" ] ; then cat > /etc/init/${serial_tty}.conf <<-__EOF__
cat > /etc/init/${serial_tty}.conf <<-__EOF__ start on stopped rc RUNLEVEL=[2345]
start on stopped rc RUNLEVEL=[2345] stop on runlevel [!2345]
stop on runlevel [!2345]
respawn respawn
exec /sbin/getty 115200 ${serial_tty} exec /sbin/getty 115200 ${serial_tty}
__EOF__ __EOF__
fi
fi fi
if [ "x${boot_fstype}" == "xext2" ] ; then if [ "x${boot_fstype}" == "xext2" ] ; then

Loading…
Cancel
Save