#!/bin/sh echo EHC1 | sudo tee /proc/acpi/wakeup > /dev/null echo EHC2 | sudo tee /proc/acpi/wakeup > /dev/null