From f0280a0cb58ebfcc1a4a4abff36d02172029225f Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Tue, 14 Feb 2012 09:42:41 +0100 Subject: Improve comment in init/serial.conf (#746808) --- init/serial.conf | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'init') 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] -- cgit v1.2.1