aboutsummaryrefslogtreecommitdiffstats
path: root/init
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:43:28 +0100
commitf0280a0cb58ebfcc1a4a4abff36d02172029225f (patch)
treee8a95be773d191c0c257602b0e4fd14952fc8b40 /init
parent90d879d90cc6a4fcef7fcfbe670145dd8ff77d8a (diff)
downloadinitscripts-f0280a0cb58ebfcc1a4a4abff36d02172029225f.tar
initscripts-f0280a0cb58ebfcc1a4a4abff36d02172029225f.tar.gz
initscripts-f0280a0cb58ebfcc1a4a4abff36d02172029225f.tar.bz2
initscripts-f0280a0cb58ebfcc1a4a4abff36d02172029225f.tar.xz
initscripts-f0280a0cb58ebfcc1a4a4abff36d02172029225f.zip
Improve comment in init/serial.conf (#746808)
Diffstat (limited to 'init')
-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]