diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index c428f4c0c..750514ed7 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -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 diff --git a/html/cgi-bin/media.cgi b/html/cgi-bin/media.cgi index 54aa3ba5a..ccf882e4f 100644 --- a/html/cgi-bin/media.cgi +++ b/html/cgi-bin/media.cgi @@ -135,7 +135,7 @@ my $i=0; for(my $i = 1; $i <= $#iostat1; $i++) { if ( $i eq '1' ){print "