.xinitrc: Get Pandora-Type from /tmp/pnd_version
[openpandora.oe.git] / recipes / pandora-system / pandora-skel / .xinitrc
index cebf5af..282f1c0 100644 (file)
@@ -89,7 +89,7 @@ nocleanwarn=$(cat /tmp/nocleanwarn)
 
 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