Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- case "$1" in
- hibernate|suspend)
- ;;
- thaw|resume)
- echo -n 0 > /sys/devices/virtual/thermal/cooling_device0/cur_state;
- echo -n 0 > /sys/devices/virtual/thermal/cooling_device1/cur_state;
- echo -n 0 > /sys/devices/virtual/thermal/cooling_device2/cur_state;
- echo -n 0 > /sys/devices/virtual/thermal/cooling_device3/cur_state;
- echo -n 0 > /sys/devices/virtual/thermal/cooling_device4/cur_state;
- echo -n 0 > /sys/devices/virtual/thermal/cooling_device5/cur_state;
- echo -n 0 > /sys/devices/virtual/thermal/cooling_device6/cur_state;
- echo -n 0 > /sys/devices/virtual/thermal/cooling_device7/cur_state;
- ;;
- *)
- exit 0
- ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment