aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPetr Lautrbach <plautrba@redhat.com>2010-12-03 15:26:53 +0100
committerPetr Lautrbach <plautrba@redhat.com>2010-12-06 18:08:31 +0100
commit7ea0e422f14deb956886c7fc7c13eb4e6ed3e57c (patch)
tree804a00edc5784671b335cee8e9309097bf35c1b9 /init
parentc93923134c5e1dc5536caeea64a74329bfb69c7e (diff)
downloadinitscripts-7ea0e422f14deb956886c7fc7c13eb4e6ed3e57c.tar
initscripts-7ea0e422f14deb956886c7fc7c13eb4e6ed3e57c.tar.gz
initscripts-7ea0e422f14deb956886c7fc7c13eb4e6ed3e57c.tar.bz2
initscripts-7ea0e422f14deb956886c7fc7c13eb4e6ed3e57c.tar.xz
initscripts-7ea0e422f14deb956886c7fc7c13eb4e6ed3e57c.zip
Stop tty and serial also on runlevel 's' (#629257)
Diffstat (limited to 'init')
-rw-r--r--init/serial.conf2
-rw-r--r--init/tty.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/init/serial.conf b/init/serial.conf
index b2204a18..e47df283 100644
--- a/init/serial.conf
+++ b/init/serial.conf
@@ -13,7 +13,7 @@
# /etc/init/tty.conf, and changing the getty line in that file.
start on fedora.serial-console-available DEV=* and stopped rc RUNLEVEL=[2345]
-stop on runlevel [016]
+stop on runlevel [S016]
instance $DEV
respawn
diff --git a/init/tty.conf b/init/tty.conf
index 62a2b5ba..fca6388e 100644
--- a/init/tty.conf
+++ b/init/tty.conf
@@ -2,7 +2,7 @@
#
# This service maintains a getty on the specified device.
-stop on runlevel [016]
+stop on runlevel [S016]
respawn
instance $TTY