aboutsummaryrefslogtreecommitdiffstats
path: root/event.d/rc2
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-05-01 16:29:33 -0400
committerBill Nottingham <notting@redhat.com>2009-05-01 16:29:33 -0400
commit64e4a7e85366875a1f985f011d58273bc8aba875 (patch)
treed62bc52935c867f74d3eebbf3c4a4937242df304 /event.d/rc2
parent89385ab41c09a8b4c8a630bfe385ea7a143e00ef (diff)
downloadinitscripts-64e4a7e85366875a1f985f011d58273bc8aba875.tar
initscripts-64e4a7e85366875a1f985f011d58273bc8aba875.tar.gz
initscripts-64e4a7e85366875a1f985f011d58273bc8aba875.tar.bz2
initscripts-64e4a7e85366875a1f985f011d58273bc8aba875.tar.xz
initscripts-64e4a7e85366875a1f985f011d58273bc8aba875.zip
Don't stop a runlevel event on subsequent entering of the same runlevel. (#498514)
A gnome-session bug caused shutdown events to be triggered multiple times. The effect of subsequent ones would be to kill the running shutdown.
Diffstat (limited to 'event.d/rc2')
-rw-r--r--event.d/rc22
1 files changed, 1 insertions, 1 deletions
diff --git a/event.d/rc2 b/event.d/rc2
index 1e0ab677..6cc4d884 100644
--- a/event.d/rc2
+++ b/event.d/rc2
@@ -5,7 +5,7 @@
start on runlevel 2
-stop on runlevel
+stop on runlevel [!2]
console output
script