File ppc64-diag.rtas_errd.patch of Package ppc64-diag

---
 scripts/rtas_errd |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Index: ppc64-diag-2.6.0/scripts/rtas_errd
===================================================================
--- ppc64-diag-2.6.0.orig/scripts/rtas_errd
+++ ppc64-diag-2.6.0/scripts/rtas_errd
@@ -19,8 +19,10 @@
 
 ### BEGIN INIT INFO
 # Provides:		rtas_errd
-# Required-Start:	$local_fs $syslog $time
-# Required-Stop:
+# Should-Start:		$remote_fs $syslog $time
+# Should-Stop:		$null
+# Required-Start:	$null
+# Required-Stop:	$null
 # Default-Start:	2 3 5
 # Default-Stop:		0 1 4 6
 # Short-Description:	Daemon to retrieve platform errors
@@ -57,7 +59,7 @@ case "$1" in
 	    pid=`pidof rtas_errd`
 	    if [[ -n "$pid" ]]; then
 	        echo $pid > /var/run/rtas_errd.pid
-	        touch /var/lock/subsys/rtas_errd
+	        touch /var/run/rcrtas_errd
 	    fi
 	    echo
 	fi
@@ -70,8 +72,8 @@ case "$1" in
 	    rc_status -v
 	else
 	    killproc rtas_errd -TERM
-	    rm -f /var/lock/subsys/rtas_errd
-	    rm -f /var/run/rtas_errd.pid
+	    rm -f /var/run/rcrtas_errd
+	    rm -f /var/run/rcrtas_errd.pid
 	    echo
 	fi
 	;;
openSUSE Build Service is sponsored by