X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=linuxrc;h=5ab61ff4a7f73c5c9590226fb24e55c49bf6a5b0;hb=80fced30b0188cc47c32f4bbdece9e80d4263bf7;hp=d145c92312fb08180f0860bbf39d3e93ec68b165;hpb=941a09ddcea97e62bb737c0a3c570eebbb441081;p=grml-terminalserver.git diff --git a/linuxrc b/linuxrc index d145c92..5ab61ff 100755 --- a/linuxrc +++ b/linuxrc @@ -526,7 +526,7 @@ if [ -n "$NFS" ]; then KERNELVER=`uname -r` for mod in `find /lib/modules/$KERNELVER/kernel/drivers/net/ -name \*.ko` ; do - echo `basename $mod | tr -d \.ko` >> /modules.load + echo `basename $mod | sed -e 's/\.ko$//'` >> /modules.load done modules_to_load=`cat /modules.load | xargs` @@ -549,10 +549,12 @@ if [ -n "$NFS" ]; then # loading additional modules modLoad sunrpc lockd af_packet nfs - log_begin_msg "Requesting network configuration using udhcp:" ; echo - /static/udhcpc --foreground --quit --script=/static/udhcp-config.sh - #echo "press to start a system shell and configure your system" - #sh + for INTERFACE in `ifconfig -a | grep '^eth' | sed 's/\ .*//'` ; do + log_begin_msg "Requesting network configuration using udhcp for ${INTERFACE}:" ; echo + /static/timeout 10 /static/udhcpc --interface="${INTERFACE}" --foreground --quit --script=/static/udhcp-config.sh + # echo "press to start a system shell and configure your system" + # sh + done # recreate the old dir structures rdir