28 lines
998 B
Diff
28 lines
998 B
Diff
|
commit 608507ea8ed81209204feacbbde40e234d261141
|
||
|
Author: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
|
||
|
Date: Wed Sep 13 21:54:45 2017 +0530
|
||
|
|
||
|
scripts: Fix service scripts
|
||
|
|
||
|
By mistake I added wrong condition check which resulted in unnecessary
|
||
|
log messages in PowerNV system. This patch fixes service script properly.
|
||
|
|
||
|
Fixes: 1f49a51c (scripts: Improve service scripts)
|
||
|
Reported-by: Frédéric Bonnard <frediz@linux.vnet.ibm.com>
|
||
|
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
|
||
|
|
||
|
diff --git a/scripts/rtas_errd.service b/scripts/rtas_errd.service
|
||
|
index 5507b8a..8475c3e 100644
|
||
|
--- a/scripts/rtas_errd.service
|
||
|
+++ b/scripts/rtas_errd.service
|
||
|
@@ -1,7 +1,7 @@
|
||
|
[Unit]
|
||
|
Description=ppc64-diag rtas_errd (platform error handling) Service
|
||
|
-ConditionPathExists=|!/proc/ppc64/rtas/error_log
|
||
|
-ConditionPathExists=|!/proc/ppc64/error_log
|
||
|
+ConditionPathExists=|/proc/ppc64/rtas/error_log
|
||
|
+ConditionPathExists=|/proc/ppc64/error_log
|
||
|
After=syslog.target
|
||
|
|
||
|
[Service]
|