Made rev. 2 changes

This commit is contained in:
Jack-Benny Persson 2012-05-08 04:03:29 +02:00
parent a1d13bd7be
commit 0dbdeb4751

View File

@ -132,10 +132,7 @@ do /bin/mv "$f" "snort_$f"
done
# We must add a whitespace after every "#" to make it compatible
/usr/bin/sed -i -e 's/^\#alert/\# alert/g' snort_*
# Remove sed backups files
/bin/rm *-e
/usr/bin/sed -i "" -e 's/^\#alert/\# alert/g' snort_*
# Now move them all to the correct locations
/bin/mv /tmp/snort_rules/snort_* /usr/local/etc/snort/rules/