op_power: reload modules correctly
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 16 Nov 2012 21:28:38 +0000 (23:28 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 16 Nov 2012 21:28:42 +0000 (23:28 +0200)
Reported-by: Linux-SWAT
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_power.sh

index 2e58ca0..c41d4f7 100644 (file)
@@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 DEPENDS = "zenity dbus"
 RDEPENDS = "zenity dbus"
 
-PR = "r123"
+PR = "r124"
 
 SRC_URI = " \
           file://op_paths.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