summaryrefslogtreecommitdiff
path: root/logcheck/mklocalfiles
diff options
context:
space:
mode:
Diffstat (limited to 'logcheck/mklocalfiles')
-rwxr-xr-xlogcheck/mklocalfiles5
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