add binary timeout itself
[grml-terminalserver.git] / linuxrc
diff --git a/linuxrc b/linuxrc
index eaa4376..5ab61ff 100755 (executable)
--- a/linuxrc
+++ b/linuxrc
@@ -551,7 +551,7 @@ if [ -n "$NFS" ]; then
 
   for INTERFACE in `ifconfig -a | grep '^eth' | sed 's/\ .*//'` ; do
       log_begin_msg "Requesting network configuration using udhcp for ${INTERFACE}:" ; echo
-      /static/udhcpc --interface="${INTERFACE}" --foreground --quit --script=/static/udhcp-config.sh
+      /static/timeout 10 /static/udhcpc --interface="${INTERFACE}" --foreground --quit --script=/static/udhcp-config.sh
       # echo "press <enter> to start a system shell and configure your system"
       # sh
   done