# ttyS0 - getty
#
# Copyright (c) 2010 Ericsson AB.
# Copyright (c) 2009 Redback Networks Inc.
#    All rights reserved.
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn

exec /sbin/getty 115200 ttyS0
# Replace with the following line to drop into RBOS shell
# exec /sbin/getty -n -l /usr/lib/siara/bin/exec_cli 115200 ttyS0

