aboutsummaryrefslogtreecommitdiffstats
path: root/event.d/console
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-08-03 11:30:57 -0400
committerBill Nottingham <notting@redhat.com>2009-08-03 11:30:57 -0400
commit679530113793c06d82f5ee4fb78e42a5bb86331d (patch)
treea97e3b7d49e4b64c5240204c28aea6a0e7167d37 /event.d/console
parente1891075a289123f1841e104b8668f27bab53a3d (diff)
downloadinitscripts-679530113793c06d82f5ee4fb78e42a5bb86331d.tar
initscripts-679530113793c06d82f5ee4fb78e42a5bb86331d.tar.gz
initscripts-679530113793c06d82f5ee4fb78e42a5bb86331d.tar.bz2
initscripts-679530113793c06d82f5ee4fb78e42a5bb86331d.tar.xz
initscripts-679530113793c06d82f5ee4fb78e42a5bb86331d.zip
Fix up upstart rules for s390(x). (#515222)
On mainframe, we do not use tty*, and we just start a getty on console.
Diffstat (limited to 'event.d/console')
-rw-r--r--event.d/console16
1 files changed, 16 insertions, 0 deletions
diff --git a/event.d/console b/event.d/console
new file mode 100644
index 00000000..732a3fa9
--- /dev/null
+++ b/event.d/console
@@ -0,0 +1,16 @@
+# console - getty
+#
+# This service maintains a getty on console from the point the system is
+# started until it is shut down again.
+
+start on stopped rc2
+start on stopped rc3
+start on stopped rc4
+start on started prefdm
+
+stop on runlevel 0
+stop on runlevel 1
+stop on runlevel 6
+
+respawn
+exec /sbin/mingetty console