aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2012-08-01 14:14:15 +0200
committerLukas Nykryn <lnykryn@redhat.com>2012-08-07 10:01:57 +0200
commit1bd5b5804e58b8f102f725ce84412fc58e3c5b06 (patch)
tree99b0fe974981b21c0d45c9e9b260119dfd167216 /init
parentefc3be4bb183ba5fed773197c4a48b5a39a28228 (diff)
downloadinitscripts-1bd5b5804e58b8f102f725ce84412fc58e3c5b06.tar
initscripts-1bd5b5804e58b8f102f725ce84412fc58e3c5b06.tar.gz
initscripts-1bd5b5804e58b8f102f725ce84412fc58e3c5b06.tar.bz2
initscripts-1bd5b5804e58b8f102f725ce84412fc58e3c5b06.tar.xz
initscripts-1bd5b5804e58b8f102f725ce84412fc58e3c5b06.zip
Start serial console when we return from runlevel1 (#755699)
Diffstat (limited to 'init')
-rw-r--r--init/serial.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/serial.conf b/init/serial.conf
index b938b0ce..7a3f2f4c 100644
--- a/init/serial.conf
+++ b/init/serial.conf
@@ -28,4 +28,5 @@ instance $DEV
respawn
pre-start exec /sbin/securetty $DEV
exec /sbin/agetty /dev/$DEV $SPEED vt100-nav
+post-stop exec /sbin/initctl emit --no-wait fedora.serial-console-available DEV=$DEV SPEED=$SPEED
usage 'DEV=ttySX SPEED=Y - where X is console id and Y is baud rate'