Skip to content

Commit

Permalink
pandora-state.bb: synced with git.openpandora.org
Browse files Browse the repository at this point in the history
  • Loading branch information
aTc committed Jun 28, 2012
1 parent e5ec00b commit ec606f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion recipes-openpandora/pandora-system/pandora-state.bb
Expand Up @@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"

RDEPENDS = "pandora-scripts"

PR = "r11"
PR = "r13"
inherit update-rc.d

INITSCRIPT_NAME = "pandora-state"
Expand Down
Expand Up @@ -53,10 +53,11 @@ d_start() {
if [ -f /etc/pandora/shutdown ]; then
rm /etc/pandora/shutdown
sync
echo $cpuspeed > /proc/pandora/cpu_mhz_max
/usr/pandora/scripts/op_cpuspeed.sh -n $cpuspeed
else
echo "No clean shutdown - will not set CPU speed"
touch /tmp/nocleanwarn
echo "Yes" > /tmp/nocleanwarn
chmod 777 /tmp/nocleanwarn
fi
sed -n '1p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mode
sed -n '2p' /etc/pandora/conf/nubs.state > /proc/pandora/nub0/mouse_sensitivity
Expand Down

0 comments on commit ec606f3

Please sign in to comment.