From 3d7f9cb2964151b9f03631968966c91327f8f21f Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sun, 6 Mar 2016 10:24:06 +0100 Subject: *sleep: better names --- deep_sleep | 9 --------- hibernate | 9 +++++++++ sleep | 4 ---- suspend | 4 ++++ 4 files changed, 13 insertions(+), 13 deletions(-) delete mode 100755 deep_sleep create mode 100755 hibernate delete mode 100644 sleep create mode 100644 suspend diff --git a/deep_sleep b/deep_sleep deleted file mode 100755 index 3fc0115..0000000 --- a/deep_sleep +++ /dev/null @@ -1,9 +0,0 @@ -#!/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 - 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 + diff --git a/sleep b/sleep deleted file mode 100644 index 39f2914..0000000 --- a/sleep +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/zsh -x - -/usr/bin/s2ram - diff --git a/suspend b/suspend new file mode 100644 index 0000000..39f2914 --- /dev/null +++ b/suspend @@ -0,0 +1,4 @@ +#!/bin/zsh -x + +/usr/bin/s2ram + -- cgit v1.2.3