[Fai-commit] r4333 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Wed Jun 13 12:44:57 UTC 2007
Author: lange
Date: 2007-06-13 12:44:57 +0000 (Wed, 13 Jun 2007)
New Revision: 4333
Modified:
trunk/bin/fai-cd
Log:
make error message of pkill disapear
Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd 2007-06-13 11:26:07 UTC (rev 4332)
+++ trunk/bin/fai-cd 2007-06-13 12:44:57 UTC (rev 4333)
@@ -120,6 +120,11 @@
set -e
}
# - - - - - - - - - - - - - - - - - - - - - - - - - -
+sleep_now() {
+
+ sleep 6666 || true
+}
+# - - - - - - - - - - - - - - - - - - - - - - - - - -
create_iso() {
# Create the El Torito bootable iso9660 cdrom image
@@ -157,7 +162,8 @@
if [ $keep -eq 1 ]; then
echo "fai-cd script stopped for 6666 seconds. The filesystem is now available in $tmp."
echo "To continue the script and call the cleanup call: pkill -f 'sleep 6666'"
- sleep 6666 || true
+ sleep_now 2>/dev/null
+ echo "Continue cleanup."
fi
rm $tmp1
unhide_dirs
More information about the Fai-commit
mailing list