diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/snort-dev/snort_interfaces_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort-dev/snort_interfaces_edit.php b/config/snort-dev/snort_interfaces_edit.php index 89746b9b..2da18160 100644 --- a/config/snort-dev/snort_interfaces_edit.php +++ b/config/snort-dev/snort_interfaces_edit.php @@ -294,7 +294,7 @@ if ($_POST["Submit"]) { if ($_POST["Submit2"]) { sync_snort_package_all(); sleep(1); - exec("/bin/sh /usr/local/etc/rc.d/snort_{$id}{$if_real}.sh restart"); + exec("/bin/sh /usr/local/etc/rc.d/snort restart {$id}{$if_real}"); header("Location: /snort/snort_interfaces_edit.php?id=$id"); exit; } |