1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/psad/01-disable-init-install.patch

22 lines
781 B
Diff

--- 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 " .