From 8a16cefc96a1e9389189b0a8f0bbe4bdb39b03ec Mon Sep 17 00:00:00 2001 From: thompsa Date: Thu, 28 Jan 2010 10:08:31 +1300 Subject: rename rc.d/snort to rc.d/snort.sh so it starts at boot. --- config/snort-dev/snort_interfaces_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort-dev/snort_interfaces_edit.php') diff --git a/config/snort-dev/snort_interfaces_edit.php b/config/snort-dev/snort_interfaces_edit.php index 2da18160..3a384df5 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 restart {$id}{$if_real}"); + exec("/bin/sh /usr/local/etc/rc.d/snort.sh restart {$id}{$if_real}"); header("Location: /snort/snort_interfaces_edit.php?id=$id"); exit; } -- cgit v1.2.3