Skip to content

Instantly share code, notes, and snippets.

@sparsick
Created January 12, 2015 20:07
Show Gist options
  • Save sparsick/1ed8449fec545767bac2 to your computer and use it in GitHub Desktop.
Save sparsick/1ed8449fec545767bac2 to your computer and use it in GitHub Desktop.
auto shutdown and wake up bash script
#!/bin/bash
sudo rtcwake -m no -s 61200 && sudo shutdown -h 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment