#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#               Modified for Sixnet IPm Linux by Dave Ellis
#

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:3:initdefault:

# System initialization.
si::sysinit:/etc/rc.sysinit

# Single user shell
sh:1:respawn:/bin/sh < /dev/console > /dev/console 2> /dev/console

# Start the monit process
mon:34:respawn:monit -I > /dev/null 2>&1

# networking
ne:34:once:/usr/sbin/inetd

# Sixnet ISaGRAF runtime
sx1:3:respawn:isagraf

# Sixnet applications

l0:0:wait:/sbin/halt -dip
#l1:1:wait:/etc/rc.d/rc 1
#l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc 3
l4:4:wait:/etc/rc 4
#l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/sbin/reboot -dip

# Run gettys in standard runlevels
#T0:234:respawn:/sbin/getty -L ttyS00 9600
T0:4:respawn:/sbin/getty -L ttyS00 9600
#T1:234:respawn:/sbin/getty -L ttyS01 9600
#T2:234:respawn:/sbin/getty -L ttyS02 9600
#T3:234:respawn:/sbin/getty -L ttyS03 9600
#
# Run getty on USB serial device.  This is
# a call to a wrapper script in case there is
# no USB.
TU:234:respawn:/usr/local/bin/ttygserial

# Dialup Lines
#D0S:234:respawn:/usr/sbin/mgetty -n 1 -D ttyS00
#D1S:234:respawn:/usr/sbin/mgetty -n 1 -D ttyS01
#D2S:234:respawn:/usr/sbin/mgetty -n 1 -D ttyS02
#D0C:234:respawn:/usr/local/bin/sxpppd ttyS00
#D1C:234:respawn:/usr/local/bin/sxpppd ttyS01
#D2C:234:respawn:/usr/local/bin/sxpppd ttyS02
#svm:34:respawn:/usr/local/bin/jbm_mgmt -i >/dev/null

# Reset hwclock
hcw:3:once:/sbin/hwclock -w