HP 6730B Fan Control After Resume

modifed from http://computertinker.blogspot.ca/2013/11/fixing-fan-speed-on-hp-6730b-laptop.html
# cat  /usr/lib/systemd/system-sleep/99fancontrol.sh 
#!/bin/sh

case "$1" in
    pre)
    # Stopping is not required.
    ;;
    post)
    # In background.
    ls /sys/devices/virtual/thermal/cooling_device*/cur_state | while read A; do echo 1 > $A; echo 0 > $A; done
    ;;
    *) exit $NA
    ;;
esac

vmware patches

https://wiki.archlinux.org/index.php/VMware