summaryrefslogtreecommitdiffstats
path: root/jobs.d/kickoff-ttys
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-07-23 09:48:23 -0400
committerCasey Dahlin <cdahlin@redhat.com>2008-07-23 09:48:23 -0400
commit01fecfecdb440d81435690c63d28909c5edd34de (patch)
tree0700ba7f0da1a17e974ad77826f8011b7e77443f /jobs.d/kickoff-ttys
parent51f5d4923f3ab0025708df3d20efd45fe5437e92 (diff)
downloadinitscripts-master.tar.gz
initscripts-master.tar.xz
initscripts-master.zip
Update for Upstart 0.5.0HEADmaster
New job definitions, in a new location, in a new format
Diffstat (limited to 'jobs.d/kickoff-ttys')
-rw-r--r--jobs.d/kickoff-ttys15
1 files changed, 15 insertions, 0 deletions
diff --git a/jobs.d/kickoff-ttys b/jobs.d/kickoff-ttys
new file mode 100644
index 00000000..59f88198
--- /dev/null
+++ b/jobs.d/kickoff-ttys
@@ -0,0 +1,15 @@
+# kickoff-ttys - standard array of gettys
+
+start on stopped rc-multiuser RUNLEVEL=[!5] or started prefdm
+task
+
+emits tty-requested
+
+script
+ /sbin/initctl emit tty-requested TTY=tty1
+ /sbin/initctl emit tty-requested TTY=tty2
+ /sbin/initctl emit tty-requested TTY=tty3
+ /sbin/initctl emit tty-requested TTY=tty4
+ /sbin/initctl emit tty-requested TTY=tty5
+ /sbin/initctl emit tty-requested TTY=tty6
+end script