Updated hardware.sh for new argument "moduleload=" a comma seperated list of modules ...
Kyle Sheumaker [Mon, 4 Apr 2016 17:43:44 +0000 (12:43 -0500)]
etc/hardware.sh

index ffc12f2..0f66f05 100755 (executable)
@@ -60,6 +60,19 @@ dhcp_on_interface() {
        fi
 }
 
+header "Loading kernel modules from the moduleload= argument"
+if [ "x${_moduleload}" != "x" ]
+then
+       
+       OIFS=$IFS
+       IFS=","
+       for i in ${_moduleload}
+       do
+               modprobe_module ${i}    
+       done
+       IFS=$OIFS
+fi
+
 header "Loading other modules"
 for i in `cat /etc/modules_other_early.conf`
 do