Made rev. 2 changes
This commit is contained in:
parent
a1d13bd7be
commit
0dbdeb4751
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user