72 lines
1.9 KiB
Diff
72 lines
1.9 KiB
Diff
|
commit d1c80e0217a049441cdad42428254270904f8694
|
||
|
Author: Steve Grubb <sgrubb@redhat.com>
|
||
|
Date: Fri Jul 5 12:58:03 2019 -0400
|
||
|
|
||
|
Remove dependency on chkconfig
|
||
|
|
||
|
diff --git a/init.d/auditd.reload b/init.d/auditd.reload
|
||
|
index b9c9c6c..9c30295 100644
|
||
|
--- a/init.d/auditd.reload
|
||
|
+++ b/init.d/auditd.reload
|
||
|
@@ -7,7 +7,7 @@ test $(id -u) = 0 || exit 4
|
||
|
|
||
|
PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
||
|
prog="auditd"
|
||
|
-. /etc/init.d/functions
|
||
|
+. /etc/rc.d/init.d/functions
|
||
|
|
||
|
printf "Reconfiguring: "
|
||
|
/sbin/augenrules --load
|
||
|
diff --git a/init.d/auditd.resume b/init.d/auditd.resume
|
||
|
index 8185cd1..f1d2157 100644
|
||
|
--- a/init.d/auditd.resume
|
||
|
+++ b/init.d/auditd.resume
|
||
|
@@ -7,7 +7,7 @@ test $(id -u) = 0 || exit 4
|
||
|
|
||
|
PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
||
|
prog="auditd"
|
||
|
-. /etc/init.d/functions
|
||
|
+. /etc/rc.d/init.d/functions
|
||
|
|
||
|
printf "Resuming logging: "
|
||
|
killproc $prog -USR2
|
||
|
diff --git a/init.d/auditd.rotate b/init.d/auditd.rotate
|
||
|
index a627a43..2b13cf7 100644
|
||
|
--- a/init.d/auditd.rotate
|
||
|
+++ b/init.d/auditd.rotate
|
||
|
@@ -7,7 +7,7 @@ test $(id -u) = 0 || exit 4
|
||
|
|
||
|
PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
||
|
prog="auditd"
|
||
|
-. /etc/init.d/functions
|
||
|
+. /etc/rc.d/init.d/functions
|
||
|
|
||
|
printf "Rotating logs: "
|
||
|
killproc $prog -USR1
|
||
|
diff --git a/init.d/auditd.state b/init.d/auditd.state
|
||
|
index 6e9e69e..c7e291e 100644
|
||
|
--- a/init.d/auditd.state
|
||
|
+++ b/init.d/auditd.state
|
||
|
@@ -8,7 +8,7 @@ test $(id -u) = 0 || exit 4
|
||
|
PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
||
|
prog="auditd"
|
||
|
state_file="/var/run/auditd.state"
|
||
|
-. /etc/init.d/functions
|
||
|
+. /etc/rc.d/init.d/functions
|
||
|
|
||
|
printf "Getting auditd internal state: "
|
||
|
killproc $prog -CONT
|
||
|
diff --git a/init.d/auditd.stop b/init.d/auditd.stop
|
||
|
index 6550fae..70aaeef 100644
|
||
|
--- a/init.d/auditd.stop
|
||
|
+++ b/init.d/auditd.stop
|
||
|
@@ -7,7 +7,7 @@ test $(id -u) = 0 || exit 4
|
||
|
|
||
|
PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
||
|
prog="auditd"
|
||
|
-. /etc/init.d/functions
|
||
|
+. /etc/rc.d/init.d/functions
|
||
|
pid="$(__pids_pidof "$prog")"
|
||
|
|
||
|
printf "Stopping logging: "
|