aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev
diff options
context:
space:
mode:
authorthompsa <andy@fud.org.nz>2010-01-28 10:02:48 +1300
committerthompsa <andy@fud.org.nz>2010-01-28 10:02:48 +1300
commit617f86f3636fdacb247b8eac6109cc4ec5cd6a21 (patch)
tree4a2a2f4f05d1b8b79c3048aa02ced398f5adfdb4 /config/snort-dev
parentad5bea776f596612c08c8c6ab47fc8071c1ca1af (diff)
downloadpfsense-packages-617f86f3636fdacb247b8eac6109cc4ec5cd6a21.tar.gz
pfsense-packages-617f86f3636fdacb247b8eac6109cc4ec5cd6a21.tar.bz2
pfsense-packages-617f86f3636fdacb247b8eac6109cc4ec5cd6a21.zip
Use correct rc.d script
Diffstat (limited to 'config/snort-dev')
-rw-r--r--config/snort-dev/snort_interfaces_edit.php2
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;
}