File 0003-Remove-runlevel-4-from-init-scripts.patch of Package pcp

From e94401a3f0f6c68f695f0b4a6467cf13daa35024 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Mon, 16 May 2022 17:34:15 +0200
Subject: [PATCH] rc scripts: remove runlevel 4 from init scripts

Acked-by: David Disseldorp <ddiss@suse.de>
---
 src/pmcd/rc_pcp          | 12 ++++++------
 src/pmcd/rc_pmcd         |  2 +-
 src/pmie/rc_pmie         |  2 +-
 src/pmlogger/rc_pmlogger |  2 +-
 src/pmproxy/rc_pmproxy   |  2 +-
 5 files changed, 10 insertions(+), 10 deletions(-)

Index: pcp-6.2.0/src/pmcd/rc_pcp
===================================================================
--- pcp-6.2.0.orig/src/pmcd/rc_pcp
+++ pcp-6.2.0/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 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
Index: pcp-6.2.0/src/pmcd/rc_pmcd
===================================================================
--- pcp-6.2.0.orig/src/pmcd/rc_pmcd
+++ pcp-6.2.0/src/pmcd/rc_pmcd
@@ -27,7 +27,7 @@
 # Should-Start:      $network $remote_fs $syslog $time
 # Required-Stop:     $local_fs
 # Should-Stop:       $network $remote_fs $syslog
-# Default-Start:     2 3 4 5
+# Default-Start:     2 3 5
 # Default-Stop:      0 1 6
 # Short-Description: Control pmcd (the collection daemon for PCP)
 # Description:       Configure and control pmcd (the collection daemon for the Performance Co-Pilot)
openSUSE Build Service is sponsored by