Skip to content

Commit 354868c

Browse files
committed
Make sysstat init script source the functions library
Make sysstat init script source the functions library. This is needed to conform to the LSB Core Specifications and severeal other tools depend on it. Signed-off-by: Sebastien GODARD <[email protected]>
1 parent f164634 commit 354868c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sysstat.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
#@(#) Insert a dummy record in current daily data file.
2020
#@(#) This indicates that the counters have restarted from 0.
2121

22+
# Source functions library
23+
[ -r @INIT_DIR@/functions ] && . @INIT_DIR@/functions
24+
2225
RETVAL=0
2326
PIDFILE=/var/run/sysstat.pid
2427

0 commit comments

Comments
 (0)