From 566e3a6454c53cfd1cc4efb680c6f78b73192c36 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 5 Jan 2010 11:33:26 -0500 Subject: Respawn correctly. (#552324, ) --- init/serial.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/init/serial.conf b/init/serial.conf index 21aab580..b2204a18 100644 --- a/init/serial.conf +++ b/init/serial.conf @@ -16,10 +16,6 @@ start on fedora.serial-console-available DEV=* and stopped rc RUNLEVEL=[2345] stop on runlevel [016] instance $DEV +respawn pre-start exec /sbin/securetty $DEV exec /sbin/agetty /dev/$DEV $SPEED vt100-nav -post-stop script - if [ "$UPSTART_EVENTS" != "${UPSTART_EVENTS##fedora.serial-console-available}" ]; then - initctl emit --no-wait fedora.serial-console-available DEV=$DEV SPEED=$SPEED - fi -end script -- cgit v1.2.1