- echo -n "checkbootparam nfsdir "
- checkbootparam "nfsdir" && echo "OK" || echo "FAILED"
- echo "getbootparam nfsdir=\"$tmp_\""
-
- # put the mylibs into /lib for discover and udhcpc
- cdir
-
- # starting hw-detection for network card - currently broken, so don't use it
- # echo "Starting hw-detection"
- # kernel_version_=`uname -r`
- # modules_to_load=$(/static/discover --disable-bus all --enable-bus pci --type network --normalize-whitespace --data-path=linux/module/name --data-version=$kernel_version_ | grep -v '^ $' | uniq)
- # echo "trying to load the following network modules: \"$modules_to_load\""
-
- KERNELVER=`uname -r`
- for mod in `find /lib/modules/$KERNELVER/kernel/drivers/net/ -name \*.ko` ; do
- echo `basename $mod | tr -d \.ko` >> /modules.load
- done
- modules_to_load=`cat /modules.load`