File seccheck-2.0-grep.patch of Package seccheck
--- seccheck-2.0/security-daily.sh.orig 2003-06-05 15:39:13.000000000 +0200
+++ seccheck-2.0/security-daily.sh 2003-06-05 15:39:21.000000000 +0200
@@ -409,7 +409,7 @@
# promisc check
> $OUT
/sbin/ifconfig|/usr/bin/grep PROMISC 1> /dev/null && /sbin/ifconfig|\
- /usr/bin/grep -C PROMISC | grep -v ' [RT]X p'> $OUT
+ /usr/bin/grep -C 2 PROMISC | grep -v ' [RT]X p'> $OUT
if [ -s "$OUT" ] ; then
printf "\nChecking devices for promiscious mode.\n"
cat "$OUT"