From 77277a9630414736f1add1a46e97ff0dc73bd3a3 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 16 Nov 2012 23:28:38 +0200 Subject: [PATCH] op_power: reload modules correctly Reported-by: Linux-SWAT --- recipes/pandora-system/pandora-scripts.bb | 2 +- recipes/pandora-system/pandora-scripts/op_power.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2