aboutsummaryrefslogtreecommitdiffstats
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:31:52 -0400
commit210d0fb68b306c50a1e6a4a71cffb57519445d33 (patch)
treef811598b05a5080295a8a772035ed354fd3663f3
parent393352aa15df51a31f67f5776319d1bc3d505279 (diff)
downloadinitscripts-210d0fb68b306c50a1e6a4a71cffb57519445d33.tar
initscripts-210d0fb68b306c50a1e6a4a71cffb57519445d33.tar.gz
initscripts-210d0fb68b306c50a1e6a4a71cffb57519445d33.tar.bz2
initscripts-210d0fb68b306c50a1e6a4a71cffb57519445d33.tar.xz
initscripts-210d0fb68b306c50a1e6a4a71cffb57519445d33.zip
Don't stop a runlevel event on subsequent entering of the same runlevel. (#498514)F10-branch
A gnome-session bug caused shutdown events to be triggered multiple times. The effect of subsequent ones would be to kill the running shutdown.
-rw-r--r--event.d/rc02
-rw-r--r--event.d/rc12
-rw-r--r--event.d/rc22
-rw-r--r--event.d/rc32
-rw-r--r--event.d/rc42
-rw-r--r--event.d/rc52
-rw-r--r--event.d/rc62
7 files changed, 7 insertions, 7 deletions
diff --git a/event.d/rc0 b/event.d/rc0
index 63de616b..11ce5a51 100644
--- a/event.d/rc0
+++ b/event.d/rc0
@@ -6,7 +6,7 @@
start on runlevel 0
-stop on runlevel
+stop on runlevel [!0]
console output
script
diff --git a/event.d/rc1 b/event.d/rc1
index 5ad47bbe..57268d45 100644
--- a/event.d/rc1
+++ b/event.d/rc1
@@ -7,7 +7,7 @@
start on runlevel 1
-stop on runlevel
+stop on runlevel [!1]
console output
script
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
diff --git a/event.d/rc3 b/event.d/rc3
index 785c98aa..47a4a639 100644
--- a/event.d/rc3
+++ b/event.d/rc3
@@ -5,7 +5,7 @@
start on runlevel 3
-stop on runlevel
+stop on runlevel [!3]
console output
script
diff --git a/event.d/rc4 b/event.d/rc4
index 590eebbc..8e079f0e 100644
--- a/event.d/rc4
+++ b/event.d/rc4
@@ -5,7 +5,7 @@
start on runlevel 4
-stop on runlevel
+stop on runlevel [!4]
console output
script
diff --git a/event.d/rc5 b/event.d/rc5
index 69ca88a7..0ef6a400 100644
--- a/event.d/rc5
+++ b/event.d/rc5
@@ -5,7 +5,7 @@
start on runlevel 5
-stop on runlevel
+stop on runlevel [!5]
console output
script
diff --git a/event.d/rc6 b/event.d/rc6
index c40f708d..f9df8b4a 100644
--- a/event.d/rc6
+++ b/event.d/rc6
@@ -4,7 +4,7 @@
start on runlevel 6
-stop on runlevel
+stop on runlevel [!6]
console output
script