aboutsummaryrefslogtreecommitdiffstats
path: root/community/psad/01-disable-init-install.patch
blob: 8942ef92c7637b5ae64a00c944b5e0154d7c63bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 " .