URI:
       tsusp - scripts - random scripts
  HTML git clone git://parazyd.org/scripts.git
   DIR Log
   DIR Files
   DIR Refs
       ---
       tsusp (209B)
       ---
            1 #!/bin/sh
            2 #
            3 # parazyd - (c) wtfpl 2016
            4 
            5 case "$1" in
            6          on) /bin/sed -i '26,31s/#//'  /etc/acpi/default.sh ;;
            7         off) /bin/sed -i '26,31s/^/#/' /etc/acpi/default.sh ;;
            8           *) printf mem > /sys/power/state ;;
            9 esac