scripts

random scripts
git clone git://parazyd.org/scripts.git
Log | Files | Refs

susp (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