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`
# 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 <enter> 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/udhcpc --interface="${INTERFACE}" --foreground --quit --script=/static/udhcp-config.sh
+ # echo "press <enter> to start a system shell and configure your system"
+ # sh
+ done
# recreate the old dir structures
rdir