.xinitrc: Get Pandora-Type from /tmp/pnd_version
authorMichael Mrozek <EvilDragon@openpandora.org>
Thu, 18 Jul 2013 01:57:34 +0000 (03:57 +0200)
committerMichael Mrozek <EvilDragon@openpandora.org>
Thu, 18 Jul 2013 01:57:34 +0000 (03:57 +0200)
recipes/pandora-system/pandora-skel/.xinitrc

index cebf5af..282f1c0 100644 (file)
@@ -89,7 +89,7 @@ nocleanwarn=$(cat /tmp/nocleanwarn)
 
 if [ $nocleanwarn = "Yes" ]; then
 
 
 if [ $nocleanwarn = "Yes" ]; then
 
-  pnd_version=$(dmesg | grep OMAP3 | grep ES | awk '{print $3}')
+  pnd_version=$(cat /tmp/pnd_version)
   if [ "$pnd_version" == "OMAP3630" ]; then
       safespeed="1000"
   else
   if [ "$pnd_version" == "OMAP3630" ]; then
       safespeed="1000"
   else