SVN: bootdisk/trunk/batch-installer/installer-prep

hawk hawk at pld-linux.org
Sun Apr 8 19:39:54 CEST 2007


Author: hawk
Date: Sun Apr  8 19:39:54 2007
New Revision: 8450

Modified:
   bootdisk/trunk/batch-installer/installer-prep
Log:
- cleanup


Modified: bootdisk/trunk/batch-installer/installer-prep
==============================================================================
--- bootdisk/trunk/batch-installer/installer-prep	(original)
+++ bootdisk/trunk/batch-installer/installer-prep	Sun Apr  8 19:39:54 2007
@@ -258,7 +258,7 @@
 
 load_net_device_modules () {
     local mod mark
-    local pre_load i
+    local i
     
     # if we have it already (e.g. loaded by pcimcia cardmgr), do not load
     if ip link show "$net_device" >/dev/null 2>&1; then return; fi
@@ -276,11 +276,6 @@
     else
 	mod="$net_device_module"
     fi
-    pre_load=`grep -s "^$mod\.o|" /etc/eth.list.in | \
-    	sed -e 's/[^|]*|[^|]*|\([^|]*\).*/\1/' | sed -e 's/\.o/ /g'`
-    for i in $pre_load ; do
-        load_module $i
-    done
     load_module "$mod" "$net_device_module_options"
 }
 


More information about the pld-cvs-commit mailing list