aboutsummaryrefslogtreecommitdiffstats
path: root/community/psad/01-disable-init-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/psad/01-disable-init-install.patch')
-rw-r--r--community/psad/01-disable-init-install.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/psad/01-disable-init-install.patch b/community/psad/01-disable-init-install.patch
new file mode 100644
index 0000000000..8942ef92c7
--- /dev/null
+++ b/community/psad/01-disable-init-install.patch
@@ -0,0 +1,22 @@
+--- psad-2.4.6/install.pl
++++ psad-2.4.6/install.new
+@@ -780,19 +780,6 @@
+ }
+ }
+
+- if ($init_dir and &is_root()) {
+- &logr("[+] Copying $init_file -> ${init_dir}/$init_name\n");
+- copy $init_file, "${init_dir}/$init_name" or die "[*] Could not copy ",
+- "$init_file -> ${init_dir}/$init_name: $!";
+- if ($is_systemd) {
+- &perms_ownership("${init_dir}/$init_name", 0644);
+- } else {
+- &perms_ownership("${init_dir}/$init_name", 0744);
+- }
+- &enable_psad_at_boot($distro);
+- $installed_init_script = 1;
+- }
+-
+ &logr("\n========================================================\n");
+ if ($archived_old) {
+ &logr("[+] Copies of your original configs have been made " .