op_cpusettings.sh: Get Pandora-Type from /tmp/pandora_version
authorMichael Mrozek <EvilDragon@openpandora.org>
Thu, 18 Jul 2013 01:55:38 +0000 (03:55 +0200)
committerMichael Mrozek <EvilDragon@openpandora.org>
Thu, 18 Jul 2013 01:55:38 +0000 (03:55 +0200)
recipes/pandora-system/pandora-scripts/op_cpusettings.sh

index 91371ed..ccc30bc 100755 (executable)
@@ -5,7 +5,7 @@
 
 # First, check for the unit type and set maximum possible OPP.
 
 
 # First, check for the unit type and set maximum possible OPP.
 
-pnd_version=$(dmesg | grep OMAP3 | grep ES | awk '{print $3}')
+pnd_version=$(cat /tmp/pnd_version)
 if [ "$pnd_version" == "OMAP3630" ]; then
     oppsys="4"
   else
 if [ "$pnd_version" == "OMAP3630" ]; then
     oppsys="4"
   else