Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
#
2
# This service starts the configured number of gettys.
3
#
4
# Do not edit this file directly. If you want to change the behaviour,
5
# please create a file start-ttys.override and put your changes there.
6
 
7
start on stopped rc RUNLEVEL=[2345]
8
 
9
env ACTIVE_CONSOLES=/dev/tty[1-6]
10
env X_TTY=/dev/tty1
11
task
12
script
13
	. /etc/sysconfig/init
14
	for tty in $(echo $ACTIVE_CONSOLES) ; do
15
		[ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] && continue
16
		initctl start tty TTY=$tty
17
	done
18
end script