From 0dbdeb4751ccee07473b7032df865243c501035b Mon Sep 17 00:00:00 2001 From: Jack-Benny Persson Date: Tue, 8 May 2012 04:03:29 +0200 Subject: [PATCH] Made rev. 2 changes --- quick_fix.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/quick_fix.html b/quick_fix.html index da8cb30..2887450 100644 --- a/quick_fix.html +++ b/quick_fix.html @@ -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/