3 # strip out anything but the required lines and put everything in one spot - zzz
6 if [ ! -s squished
/squish-done
]; then
10 for f
in {protocols
/*/*.pat
,*.pat
}; do
13 echo -en "Squishing: $n \r"
14 grep -v "^\s*$\|^#\|^userspace " $f > squished
/$n
15 if [ `wc -l squished/$n | cut -d ' ' -f 1` -ne 2 ]; then
16 echo "error while squishing $f..."
21 rm -f squished
/unknown
22 echo 1 > squished
/squish-done
25 echo "L7 filters squished."