]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
ids.cgi: Call suricatactrl for restarting the IDS
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 3 Aug 2018 11:51:59 +0000 (13:51 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 3 Aug 2018 11:51:59 +0000 (13:51 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi

index b42ede2ae0058de654df6812341c0180bb5a132e..4d7552d26eaaaedce495c6e7746e8141e9a73386 100644 (file)
@@ -314,8 +314,8 @@ if ($cgiparams{'RULESET'} eq $Lang::tr{'update'}) {
                # Store settings into settings file.
                &General::writehash("$IDS::settingsdir/settings", \%cgiparams);
 
-               # Call snortctrl to restart snort
-               system('/usr/local/bin/snortctrl restart >/dev/null');
+               # Call suricatactrl to restart the IDS
+               system('/usr/local/bin/suricatactrl restart >/dev/null');
        }
 }