[Fai-commit] r3889 - trunk/bin
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Thu Sep 7 15:28:59 UTC 2006
Author: lange
Date: 2006-09-07 15:28:58 +0000 (Thu, 07 Sep 2006)
New Revision: 3889
Modified:
trunk/bin/make-fai-nfsroot
Log:
do not exit if getent returns no information
remove sleep 2
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2006-09-07 15:07:44 UTC (rev 3888)
+++ trunk/bin/make-fai-nfsroot 2006-09-07 15:28:58 UTC (rev 3889)
@@ -187,7 +187,7 @@
local ips=$(ifconfig | grep -w inet | cut -d : -f 2 | cut -d ' ' -f 1 | grep -v 127.0.0.1)
for eth in $ips; do
- getent hosts $eth >> etc/hosts
+ getent hosts $eth >> etc/hosts || true
done
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -326,7 +326,6 @@
[ -f $NFSROOT/usr/sbin/dpkg-divert ] &&
LC_ALL=C $ROOTCMD dpkg-divert --rename --remove /sbin/discover-modprobe
cd /
- sleep 2
[ -d $NFSROOT/proc/self ] && umount $NFSROOT/proc
[ -d $NFSROOT/proc/self ] && umount $NFSROOT/dev/pts
if [ "$FAI_DEBMIRROR" ]; then
More information about the Fai-commit
mailing list