aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2012-02-14 09:42:41 +0100
committerLukas Nykryn <lnykryn@redhat.com>2012-02-14 09:42:41 +0100
commit2d96c87ac561d6d3d616ee1fb5fe55d4d42b4053 (patch)
treea22cce91dd06c9802de559bfc1a14af62d17b888
parent42e18f922f9f2e15be9051d829e5e3903b3371b9 (diff)
downloadinitscripts-2d96c87ac561d6d3d616ee1fb5fe55d4d42b4053.tar
initscripts-2d96c87ac561d6d3d616ee1fb5fe55d4d42b4053.tar.gz
initscripts-2d96c87ac561d6d3d616ee1fb5fe55d4d42b4053.tar.bz2
initscripts-2d96c87ac561d6d3d616ee1fb5fe55d4d42b4053.tar.xz
initscripts-2d96c87ac561d6d3d616ee1fb5fe55d4d42b4053.zip
Improve comment in init/serial.conf (#746808)
-rw-r--r--init/serial.conf13
1 files changed, 11 insertions, 2 deletions
diff --git a/init/serial.conf b/init/serial.conf
index e47df283..dcf7df43 100644
--- a/init/serial.conf
+++ b/init/serial.conf
@@ -9,8 +9,17 @@
# the proper port is in /etc/securetty, and starts the getty.
#
# If your serial console is not the primary console, or you want a getty
-# on serial even if it's not the console, create your own event by copying
-# /etc/init/tty.conf, and changing the getty line in that file.
+# on serial even if it's not the console, create your own event e.g.
+# /etc/init/ttyS0.conf with content:
+# # ttyS0 - agetty
+# #
+# # This service maintains a agetty on ttyS0.
+#
+# stop on runlevel [S016]
+# start on runlevel [23]
+#
+# respawn
+# exec agetty -h -L -w /dev/ttyS0 115200 vt102
start on fedora.serial-console-available DEV=* and stopped rc RUNLEVEL=[2345]
stop on runlevel [S016]