[Fai-commit] r5355 - trunk/bin

Thomas Lange lange at alioth.debian.org
Fri Apr 17 16:33:09 UTC 2009


Author: lange
Date: 2009-04-17 16:33:09 +0000 (Fri, 17 Apr 2009)
New Revision: 5355

Modified:
   trunk/bin/make-fai-nfsroot
Log:
add help messages


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2009-04-17 16:22:59 UTC (rev 5354)
+++ trunk/bin/make-fai-nfsroot	2009-04-17 16:33:09 UTC (rev 5355)
@@ -33,7 +33,7 @@
 usage() {
 
     cat <<-EOF
-	Copyright (C) 1999-2008 Thomas Lange
+	Copyright (C) 1999-2009 Thomas Lange
 	Report bugs to <fai at informatik.uni-koeln.de>.
 
 	Usage: make-fai-nfsroot [OPTIONS]
@@ -248,12 +248,14 @@
 	echo "ERROR: debootstrap did not completed sucsessfully."
 	echo "This is mostly caused by a broken mirror."
 	echo "Please check your mirror or use an official mirror."
+	[ "$verbose" ] || echo "Call make-fai-nfsroot -v for better debugging."
 	exit 10
     fi
 
     if [ ! -f $NFSROOT/usr/bin/apt-get ]; then
 	echo "No apt-get executable available inside the NFSROOT."
 	echo "Maybe debootstrap did not finished sucsessfully. Aborting."
+	[ "$verbose" ] || echo "Call make-fai-nfsroot -v for better debugging."
 	exit 11
     fi
 }




More information about the Fai-commit mailing list