aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-01-05 11:33:26 -0500
committerBill Nottingham <notting@redhat.com>2010-01-05 11:33:26 -0500
commit566e3a6454c53cfd1cc4efb680c6f78b73192c36 (patch)
tree292bef5b022cd3334419aad42ea297fc6304e57f
parentaf401fb40f6dd5139e8468dfe1bd3dafe40e8e93 (diff)
downloadinitscripts-566e3a6454c53cfd1cc4efb680c6f78b73192c36.tar
initscripts-566e3a6454c53cfd1cc4efb680c6f78b73192c36.tar.gz
initscripts-566e3a6454c53cfd1cc4efb680c6f78b73192c36.tar.bz2
initscripts-566e3a6454c53cfd1cc4efb680c6f78b73192c36.tar.xz
initscripts-566e3a6454c53cfd1cc4efb680c6f78b73192c36.zip
Respawn correctly. (#552324, <zing@fastmail.fm>)
-rw-r--r--init/serial.conf6
1 files changed, 1 insertions, 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