.xinitrc: Made overclocking warning more generic
[openpandora.oe.git] / recipes / pandora-system / pandora-skel / .xinitrc
index f22c628..d4a9e5b 100644 (file)
@@ -90,7 +90,7 @@ nocleanwarn=$(cat /tmp/nocleanwarn)
 if [ $nocleanwarn = "Yes" ]; then
     defmhz="$(cat /etc/pandora/conf/cpu.conf | grep default | awk -F\: '{print $2}')"
       if [ $defmhz -gt 600 ]; then
-         if zenity --question --title="Unclean Shutdown" --text="Warning!\n\nThe system has not been shutdown properly last time.\n\nAs you overclocked the CPU as default speed, this might be the reason for that.\nTherefore CPU speed has been currently set to 600 MHz.\n\nShould it be set to your default speed ($defmhz MHz) or shall we keep the 600 MHz for this session?" --ok-label="Set it to $defmhz MHz" --cancel-label="Keep 500MHz"; then
+         if zenity --question --title="Unclean Shutdown" --text="Warning!\n\nThe system has not been shutdown properly last time.\n\nAs you overclocked the CPU as default speed, this might be the reason for that.\nTherefore CPU speed has been currently set to the standard CPU speed of your SoC.\n\nShould it be set to your default speed ($defmhz MHz) or shall we keep safe setting for this session?" --ok-label="Set it to $defmhz MHz" --cancel-label="Leave it safe..."; then
            sudo /usr/pandora/scripts/op_cpuspeed.sh $defmhz
          fi
       fi