From: Grazvydas Ignotas Date: Fri, 16 Nov 2012 21:28:38 +0000 (+0200) Subject: op_power: reload modules correctly X-Git-Tag: sz_153~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77277a9630414736f1add1a46e97ff0dc73bd3a3;p=openpandora.oe.git op_power: reload modules correctly Reported-by: Linux-SWAT --- diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 2e58ca0..c41d4f7 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" DEPENDS = "zenity dbus" RDEPENDS = "zenity dbus" -PR = "r123" +PR = "r124" SRC_URI = " \ file://op_paths.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_power.sh b/recipes/pandora-system/pandora-scripts/op_power.sh index 35e01cf..49c8c1d 100644 --- a/recipes/pandora-system/pandora-scripts/op_power.sh +++ b/recipes/pandora-system/pandora-scripts/op_power.sh @@ -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