diff options
author | Bill Nottingham <notting@redhat.com> | 2009-12-03 14:42:41 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-12-03 14:42:41 -0500 |
commit | 70ae78109bf06c6666253895965ed2a70fd621a4 (patch) | |
tree | caf0ff175ac9cf60452331767bf890e3c83c7149 /init/start-ttys.conf | |
parent | 77d4b9ab4339d1ff11cbf3a51627b2a708e14227 (diff) | |
download | initscripts-70ae78109bf06c6666253895965ed2a70fd621a4.tar initscripts-70ae78109bf06c6666253895965ed2a70fd621a4.tar.gz initscripts-70ae78109bf06c6666253895965ed2a70fd621a4.tar.bz2 initscripts-70ae78109bf06c6666253895965ed2a70fd621a4.tar.xz initscripts-70ae78109bf06c6666253895965ed2a70fd621a4.zip |
Actually commit new files.
Diffstat (limited to 'init/start-ttys.conf')
-rw-r--r-- | init/start-ttys.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/init/start-ttys.conf b/init/start-ttys.conf new file mode 100644 index 00000000..bfb85939 --- /dev/null +++ b/init/start-ttys.conf @@ -0,0 +1,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 |