op_power: reload modules correctly
[openpandora.oe.git] / recipes / pandora-system / pandora-scripts / op_power.sh
index 35e01cf..49c8c1d 100644 (file)
@@ -210,7 +210,9 @@ Please do not remove SD cards while pandora is suspended, doing so will corrupt
 
        # if we are here, either we already resumed or the suspend failed
        if [ -n "$restore_list" ]; then
-               modprobe $restore_list
+               for module in $restore_list; do
+                       modprobe $module
+               done
        fi
 
        display_on