diff options
author | Patrick Simianer <p@simianer.de> | 2016-03-06 10:24:06 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-03-06 10:24:06 +0100 |
commit | 3d7f9cb2964151b9f03631968966c91327f8f21f (patch) | |
tree | 8f06dbc0bdbdcce26ba220c166dc91e31a09e66d /hibernate | |
parent | a7c36d16f10b67c6f22cfb224082e53087e9e024 (diff) |
*sleep: better names
Diffstat (limited to 'hibernate')
-rwxr-xr-x | hibernate | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hibernate b/hibernate new file mode 100755 index 0000000..3fc0115 --- /dev/null +++ b/hibernate @@ -0,0 +1,9 @@ +#!/bin/zsh -x + +swapoff -a +rm -f /swapfile +dd if=/dev/zero of=/swapfile bs=1M count=2048 +mkswap /swapfile +swapon /swapfile +/usr/sbin/s2disk + |