From 617f86f3636fdacb247b8eac6109cc4ec5cd6a21 Mon Sep 17 00:00:00 2001 From: thompsa Date: Thu, 28 Jan 2010 10:02:48 +1300 Subject: Use correct rc.d script --- config/snort-dev/snort_interfaces_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort-dev') 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; } -- cgit v1.2.3