[11/20] suricata: Remove superfluous bits from the initscript

Message ID 20240910143748.3469271-12-michael.tremer@ipfire.org
State Accepted
Commit eb3156ed6b4a1de646259295db47c6cbeaa438ae
Headers
Series [01/20] suricata: Move the IPS into the mangle table |

Commit Message

Michael Tremer Sept. 10, 2024, 2:37 p.m. UTC
  I don't know why these hacks are here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/initscripts/system/suricata | 4 ----
 1 file changed, 4 deletions(-)
  

Patch

diff --git a/src/initscripts/system/suricata b/src/initscripts/system/suricata
index 8a1740528..73b4fb523 100644
--- a/src/initscripts/system/suricata
+++ b/src/initscripts/system/suricata
@@ -23,8 +23,6 @@ 
 . ${rc_functions}
 . /etc/init.d/networking/functions.network
 
-PATH=/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin; export PATH
-
 eval $(/usr/local/bin/readhash /var/ipfire/suricata/settings)
 eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
 
@@ -198,5 +196,3 @@  case "$1" in
                 exit 1
                 ;;
 esac
-
-chmod 644 /var/log/suricata/* 2>/dev/null