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 17:59:39 +0100
commitfcbae5696738cc0d8cae67140ee43e2c1fba1db5 (patch)
tree247d219fdb605df9833e719f83ca1ff60018d9e3 /init
parent4055e472c8cc6436f357ee96b4b1b3d316a950cf (diff)
downloadinitscripts-fcbae5696738cc0d8cae67140ee43e2c1fba1db5.tar
initscripts-fcbae5696738cc0d8cae67140ee43e2c1fba1db5.tar.gz
initscripts-fcbae5696738cc0d8cae67140ee43e2c1fba1db5.tar.bz2
initscripts-fcbae5696738cc0d8cae67140ee43e2c1fba1db5.tar.xz
initscripts-fcbae5696738cc0d8cae67140ee43e2c1fba1db5.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