[D-community-commits] r72 - trunk/fai-config-dir/scripts/DEFAULT
Holger Levsen
h01ger-guest at alioth.debian.org
Sat Mar 24 17:08:21 CET 2007
Author: h01ger-guest
Date: 2007-03-24 16:08:21 +0000 (Sat, 24 Mar 2007)
New Revision: 72
Modified:
trunk/fai-config-dir/scripts/DEFAULT/20-fai-softupdate-script
Log:
i wish i'd understand why this was a syntax error...
Modified: trunk/fai-config-dir/scripts/DEFAULT/20-fai-softupdate-script
===================================================================
--- trunk/fai-config-dir/scripts/DEFAULT/20-fai-softupdate-script 2007-03-24 16:05:33 UTC (rev 71)
+++ trunk/fai-config-dir/scripts/DEFAULT/20-fai-softupdate-script 2007-03-24 16:08:21 UTC (rev 72)
@@ -7,7 +7,10 @@
cat << 'EOF' > $target/usr/local/bin/fai-softupdate
#!/bin/sh
-[ -e /tmp/fai-softupdate-running ] && { echo "fai softupdate running" ; exit 1 }
+[ -e /tmp/fai-softupdate-running ] && {
+ echo "fai softupdate running"
+ exit 1
+}
touch /tmp/fai-softupdate-running
nice sudo fai -N softupdate
[ -s /var/log/fai/current/error.log ] || exit 0
More information about the D-community-commits
mailing list