aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'