diff options
author | Jonas Smedegaard <dr@jones.dk> | 2004-03-02 00:36:40 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2004-03-02 00:36:40 +0000 |
commit | deab8918d95aad892c358728016b1436c02fa456 (patch) | |
tree | b7ebf2cfaf695cacbdbe3c06ff885283158dd1cf /logcheck/mklocalfiles | |
parent | edeabb97a1ff570f35600ae6f17823f2b10d770a (diff) |
Attempts on thinning the files (grep seems to fail with files 40kB in size): Strip some (hopefully) obsolete rules, and avoid comments.
Diffstat (limited to 'logcheck/mklocalfiles')
-rwxr-xr-x | logcheck/mklocalfiles | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/logcheck/mklocalfiles b/logcheck/mklocalfiles index dc4a152..eeb53eb 100755 --- a/logcheck/mklocalfiles +++ b/logcheck/mklocalfiles @@ -17,8 +17,9 @@ for dir in ignore.d.server ignore.d.workstation violations.ignore.d; do # fi for file in $dir/*; do if [ -f $file -a `basename $file` != "local" ]; then - echo "### $file" >> $dir/local - cat $file >> $dir/local +# echo "### $file" >> $dir/local +# cat $file >> $dir/local + cat $file | grep -v '^#' >> $dir/local fi done done |