[Fai-commit] r4731 - trunk/examples/simple/hooks

lange at alioth.debian.org lange at alioth.debian.org
Tue Nov 13 16:18:03 UTC 2007


Author: lange
Date: 2007-11-13 16:18:03 +0000 (Tue, 13 Nov 2007)
New Revision: 4731

Modified:
   trunk/examples/simple/hooks/savelog.LAST.source
Log:
add pattern on certain condition


Modified: trunk/examples/simple/hooks/savelog.LAST.source
===================================================================
--- trunk/examples/simple/hooks/savelog.LAST.source	2007-11-13 15:56:27 UTC (rev 4730)
+++ trunk/examples/simple/hooks/savelog.LAST.source	2007-11-13 16:18:03 UTC (rev 4731)
@@ -34,8 +34,6 @@
 cannot create"
 
 globalignorepatterns="[a-z]\+\.log:# 
-WARNING: untrusted versions
-Ignoring these trust violations
 STOP_ON_ERROR=
 courier-webadmin
 gstreamer0.10-plugins-bad
@@ -111,6 +109,13 @@
 can't read /etc/udev/rules.d/z25_persistent-net.rules
 /cow': No such file or directory
 cdrom: open failed."
+
+# add pattern on some conditions
+if [ -n $FAI_ALLOW_UNSIGNED ] ; then
+   globalignorepatterns="$globalignorepatterns
+WARNING: untrusted versions
+Ignoring these trust violations"
+fi
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 # Here you can define your own patterns. Put one pattern in a line,
 # do not create empty lines.




More information about the Fai-commit mailing list