[Fai-commit] r4604 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Tue Oct 2 14:24:16 UTC 2007


Author: lange
Date: 2007-10-02 14:24:16 +0000 (Tue, 02 Oct 2007)
New Revision: 4604

Modified:
   trunk/bin/make-fai-nfsroot
Log:
check if $TFTPROOT is defined


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2007-10-02 11:16:49 UTC (rev 4603)
+++ trunk/bin/make-fai-nfsroot	2007-10-02 14:24:16 UTC (rev 4604)
@@ -114,6 +114,7 @@
 [ -n "$FAI_SOURCES_LIST" ] && die "The use of \$FAI_SOURCES_LIST is deprecated. Please use sources.list now."
 
 [ -z "$NFSROOT" ] && die "\$NFSROOT is not set. Please check your settings in $cfdir/fai.conf."
+[ -z "$TFTPROOT" ] && die "\$TFTPROOT is not set. Please check your settings in $cfdir/make-fai-nfsroot.conf."
 [ ! -d "$cfdir/apt" ] && die "$cfdir/apt/ does not exists. Can't continue."
 
 NFSROOT="$NFSROOT/live/filesystem.dir"




More information about the Fai-commit mailing list