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

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

Index: ppc64-diag-2.6.7/scripts/rtas_errd
===================================================================
--- ppc64-diag-2.6.7.orig/scripts/rtas_errd
+++ ppc64-diag-2.6.7/scripts/rtas_errd
@@ -21,6 +21,10 @@
 # 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
@@ -63,8 +67,8 @@ case "$1" in
 	    daemon $RE_BIN
 	    pid=`pidof rtas_errd`
 	    if [ -n "$pid" ]; then
-	        echo $pid > /var/run/rtas_errd.pid
-	        touch /var/lock/subsys/rtas_errd
+	        echo $pid > /var/run/rcrtas_errd.pid
+	        touch /var/run/rcrtas_errd
 	    fi
 	    echo
 	fi
@@ -77,8 +81,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