File: lsb-init-functions.patch

package info (click to toggle)
atop 2.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,324 kB
  • sloc: ansic: 35,620; python: 257; sh: 248; makefile: 193
file content (37 lines) | stat: -rw-r--r-- 866 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From: Marc Haber <mh+debian-packages@zugschlus.de>
Date: Sun, 25 May 2025 20:54:51 +0200
Subject: call isb/init-functions for systemd compatibility

Forwarded: not-needed
Last-Update: 2016-08-07
---
 atop.init     | 2 ++
 atopacct.init | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/atop.init b/atop.init
index 8109457..eec2401 100755
--- a/atop.init
+++ b/atop.init
@@ -15,6 +15,8 @@
 # Description: Advanced system and process activity monitor
 ### END INIT INFO
 
+. /lib/lsb/init-functions
+
 # Check existance of binaries 
 [ -f /usr/bin/atop ] || exit 0
 
diff --git a/atopacct.init b/atopacct.init
index e4d06a8..c681f55 100755
--- a/atopacct.init
+++ b/atopacct.init
@@ -17,6 +17,8 @@
 # Description: Process accounting control
 ### END INIT INFO
 
+. /lib/lsb/init-functions
+
 # Check existance of binaries 
 [ -f /usr/sbin/atopacctd ] || exit 0