]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - html/cgi-bin/ids.cgi
Einige CGIs gefixt, SNORT wird beim Systemstart gestartet
[people/teissler/ipfire-2.x.git] / html / cgi-bin / ids.cgi
index c428f4c0c86dde7be4b8418695dec8a89fda971e..750514ed7a89b4b56d1923804fd347e97ebc0d99 100644 (file)
@@ -223,7 +223,7 @@ if (-e "/etc/snort/snort.conf") {
        close(FILE);
 
        if ($restartsnortrequired) {
-               system('/usr/local/bin/restartsnort','red','orange','blue','green');
+               system('/usr/local/bin/snortctrl','restart');
        }
 }
 
@@ -271,7 +271,7 @@ if ($snortsettings{'ACTION'} eq $Lang::tr{'save'})
                unlink "${General::swroot}/snort/enable_orange";
        }
 
-       system('/usr/local/bin/restartsnort','red','orange','blue','green');
+               system('/usr/local/bin/snortctrl','restart');
 
 } else {
         # INSTALLMD5 is not in the form, so not retrieved by getcgihash