aboutsummaryrefslogtreecommitdiffstats
path: root/init/start-ttys.conf
blob: bfb859395679902ee909d2fb822a04c31800794c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# This service starts the configured number of gettys.

start on stopped rc RUNLEVEL=[2345]

env ACTIVE_CONSOLES=/dev/tty[1-3]
task
script
	. /etc/sysconfig/init
	for tty in $(echo $ACTIVE_CONSOLES) ; do
		initctl start tty TTY=$tty
	done
end script