File 0003-pcp-legacy-init-lsb.patch of Package pcp

From 18efe6b86936d454773a437cf50ab6a90c6506f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Fri, 12 Dec 2014 15:44:44 +0100
Subject: [PATCH 3/6] pcp legacy init lsb

---
 src/pmcd/rc_pcp | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Index: pcp-3.11.8/src/pmcd/rc_pcp
===================================================================
--- pcp-3.11.8.orig/src/pmcd/rc_pcp
+++ pcp-3.11.8/src/pmcd/rc_pcp
@@ -31,12 +31,12 @@
 # e.g. SuSE, where chkconfig is a perl script.
 ### BEGIN INIT INFO
 # Provides:          pcp
-# Required-Start:
-# Should-Start:
-# Required-Stop:
-# Should-Stop:
-# Default-Start:
-# Default-Stop:
+# Required-Start:    $local_fs
+# Should-Start:      $network $remote_fs $syslog $time
+# Required-Stop:     $local_fs
+# Should-Stop:       $network $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
 # Short-Description: Legacy control for PCP daemons
 # Description:       Legacy init script wrapper for the Performance Co-Pilot (PCP) daemons
 ### END INIT INFO
@@ -79,6 +79,8 @@ _service()
     fi
 }
 
+echo "The pcp init script is depricated, pmcd and pmlogger should be used instead"
+
 case "$1" in
 
   'start'|'restart'|'condrestart'|'reload'|'force-reload')
openSUSE Build Service is sponsored by