source: projects/initscripts/tags/initscripts-8.91.3/init/start-ttys.conf @ 1108

Revision 1108, 329 bytes checked in by daisuke, 14 years ago (diff)

import initscripts-8.90.6 from internal cvs repository

Line 
1#
2# This service starts the configured number of gettys.
3
4start on stopped rc RUNLEVEL=[2345]
5
6env ACTIVE_CONSOLES=/dev/tty[1-6]
7env X_TTY=/dev/tty1
8task
9script
10        . /etc/sysconfig/init
11        for tty in $(echo $ACTIVE_CONSOLES) ; do
12                [ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] && continue
13                initctl start tty TTY=$tty
14        done
15end script
Note: See TracBrowser for help on using the repository browser.