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 | |
---|
4 | start on stopped rc RUNLEVEL=[2345] |
---|
5 | |
---|
6 | env ACTIVE_CONSOLES=/dev/tty[1-6] |
---|
7 | env X_TTY=/dev/tty1 |
---|
8 | task |
---|
9 | script |
---|
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 |
---|
15 | end script |
---|
Note: See
TracBrowser
for help on using the repository browser.