diff options
author | Bill Nottingham <notting@redhat.com> | 2008-12-09 10:44:41 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-12-09 10:44:41 -0500 |
commit | 756ab997fc3c149c0894d756df25b590482aa082 (patch) | |
tree | 350f03ae795d6e4f53a7109781aa0c5fb2f0edc6 /event.d | |
parent | b7b6cb4ce32ba749f5f7b786ddc3bafd37442a89 (diff) | |
download | initscripts-756ab997fc3c149c0894d756df25b590482aa082.tar initscripts-756ab997fc3c149c0894d756df25b590482aa082.tar.gz initscripts-756ab997fc3c149c0894d756df25b590482aa082.tar.bz2 initscripts-756ab997fc3c149c0894d756df25b590482aa082.tar.xz initscripts-756ab997fc3c149c0894d756df25b590482aa082.zip |
Document how this is supposed to work.
Diffstat (limited to 'event.d')
-rw-r--r-- | event.d/serial | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/event.d/serial b/event.d/serial index 6869090e..f70d5372 100644 --- a/event.d/serial +++ b/event.d/serial @@ -1,3 +1,16 @@ +# Automatically start a configured serial console +# +# How this works: +# +# On boot, a udev helper examines /dev/console. If a serial console is the +# primary console (last console on the commandline in grub), the event +# 'fedora.serial-console-available <port name> <speed>' is emitted, which +# triggers this script. It waits for the runlevel to finish, checks to +# make sure 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/event.d/tty[2-6], and changing the getty line in that file. start on fedora.serial-console-available * stop on runlevel [016] |