aboutsummaryrefslogtreecommitdiffstats
path: root/event.d/tty2
diff options
context:
space:
mode:
Diffstat (limited to 'event.d/tty2')
-rw-r--r--event.d/tty216
1 files changed, 16 insertions, 0 deletions
diff --git a/event.d/tty2 b/event.d/tty2
new file mode 100644
index 00000000..bf496f89
--- /dev/null
+++ b/event.d/tty2
@@ -0,0 +1,16 @@
+# tty2 - getty
+#
+# This service maintains a getty on tty2 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 stopped rc5
+
+stop on runlevel 0
+stop on runlevel 1
+stop on runlevel 6
+
+respawn
+exec /sbin/mingetty tty2