diff options
author | thompsa <andy@fud.org.nz> | 2010-01-28 10:08:31 +1300 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2010-01-28 10:08:31 +1300 |
commit | 8a16cefc96a1e9389189b0a8f0bbe4bdb39b03ec (patch) | |
tree | 91224d4fc794079b00ef7801435c8fd1935383b3 /config/snort-dev/snort_check_for_rule_updates.php | |
parent | 617f86f3636fdacb247b8eac6109cc4ec5cd6a21 (diff) | |
download | pfsense-packages-8a16cefc96a1e9389189b0a8f0bbe4bdb39b03ec.tar.gz pfsense-packages-8a16cefc96a1e9389189b0a8f0bbe4bdb39b03ec.tar.bz2 pfsense-packages-8a16cefc96a1e9389189b0a8f0bbe4bdb39b03ec.zip |
rename rc.d/snort to rc.d/snort.sh so it starts at boot.
Diffstat (limited to 'config/snort-dev/snort_check_for_rule_updates.php')
-rw-r--r-- | config/snort-dev/snort_check_for_rule_updates.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort-dev/snort_check_for_rule_updates.php b/config/snort-dev/snort_check_for_rule_updates.php index 8ec51081..d95e24ad 100644 --- a/config/snort-dev/snort_check_for_rule_updates.php +++ b/config/snort-dev/snort_check_for_rule_updates.php @@ -752,7 +752,7 @@ exec("/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/sync ;/bin/syn /* if snort is running hardrestart, if snort is not running do nothing */ if (file_exists("/tmp/snort_download_halt.pid")) { - exec("/bin/sh /usr/local/etc/rc.d/snort\* start"); + exec("/bin/sh /usr/local/etc/rc.d/snort.sh start"); echo "The Rules update finished...\n"; echo "Snort has restarted with your new set of rules...\n"; exec("/usr/bin/logger -p daemon.info -i -t SnortStartup 'SNORT RULE UPDATE FINNISHED...'"); |