Permalink
Browse files

Move machine-specific settings in bin/suspnd to corresponding branches

  • Loading branch information...
1 parent b16b874 commit 172d667f2d589fdddf4a634ea5d626ef878b541f @muennich committed Mar 3, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 bin/suspnd
View
@@ -29,14 +29,11 @@ fi
echo $$ > $PIDFILE
# save settings:
-fanspeed=$(cat /sys/devices/platform/applesmc.768/fan1_min)
# suspend:
sync
echo $state > /sys/power/state
# reset settings:
-hdparm -B 250 /dev/sda > /dev/null &
-echo $fanspeed > /sys/devices/platform/applesmc.768/fan1_min
rm -f $PIDFILE

0 comments on commit 172d667

Please sign in to comment.