]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
ids.cgi: Drop code which is detecting if oinkmaster is running
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 14 Feb 2018 13:08:29 +0000 (14:08 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 26 Jul 2018 09:59:44 +0000 (11:59 +0200)
This code is not longer required and therefore can be dropped.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index a9515b72a3c289fdbdc884bebc64682596e00801..57e7e0193ca02926d429ab2840be10aaf3a4bb4a 100644 (file)
@@ -64,14 +64,6 @@ $snortsettings{'OINKCODE'} = '';
 #Get GUI values
 &Header::getcgihash(\%cgiparams);
 
-# Try to determine if oinkmaster is running.
-my $oinkmaster_pid = `pidof oinkmaster.pl -x`;
-
-# If oinkmaster is running display output.
-if ($oinkmaster_pid) {
-       &working("$Lang::tr{'snort working'}");
-}
-
 # Check if any error has been stored.
 if (-e $IDS::storederrorfile) {
         # Open file to read in the stored error message.