[Fai-commit] r4807 - trunk/examples/simple/hooks
lange at alioth.debian.org
lange at alioth.debian.org
Thu Nov 29 18:18:34 UTC 2007
Author: lange
Date: 2007-11-29 18:18:33 +0000 (Thu, 29 Nov 2007)
New Revision: 4807
Modified:
trunk/examples/simple/hooks/savelog.LAST.source
Log:
remove duplicate messages which appear in fai.log and software.log
Modified: trunk/examples/simple/hooks/savelog.LAST.source
===================================================================
--- trunk/examples/simple/hooks/savelog.LAST.source 2007-11-29 18:16:59 UTC (rev 4806)
+++ trunk/examples/simple/hooks/savelog.LAST.source 2007-11-29 18:18:33 UTC (rev 4807)
@@ -112,6 +112,7 @@
warning: /usr/lib/X11/fonts
can't read /etc/udev/rules.d/z25_persistent-net.rules
/cow': No such file or directory
+Dummy start-stop-daemon called
cdrom: open failed."
# add pattern on some conditions
@@ -139,6 +140,10 @@
fi
grep -i "$errorpatterns" *.log | grep -vi "$ignorepatterns" > $errfile
+if [ "$verbose" ]; then
+ egrep -v '^software.log:' $errfile > $LOGDIR/tempfile
+ mv $LOGDIR/tempfile $errfile
+fi
if [ -s $errfile ]; then
echo "ERRORS found in log files. See $errfile"
More information about the Fai-commit
mailing list