1 From b886a4524b0a987c154f8f181ed54812804660d2 Mon Sep 17 00:00:00 2001
2 From: Eric Koegel <eric.koegel@gmail.com>
3 Date: Tue, 14 Oct 2014 19:01:31 +0300
4 Subject: [PATCH] Add the suspend/hibernate scripts
6 Also add the test-inhibit.c file to the repo, oops.
9 src/test-inhibit.c | 163 ++++++++++++++++++++++++++++++++++++++
10 tools/freebsd/Makefile.am | 2 +
11 tools/freebsd/ck-system-hibernate | 12 +++
12 tools/freebsd/ck-system-suspend | 12 +++
13 tools/linux/Makefile.am | 2 +
14 tools/linux/ck-system-hibernate | 12 +++
15 tools/linux/ck-system-suspend | 12 +++
16 tools/openbsd/Makefile.am | 2 +
17 tools/openbsd/ck-system-hibernate | 12 +++
18 tools/openbsd/ck-system-suspend | 12 +++
19 tools/solaris/Makefile.am | 2 +
20 tools/solaris/ck-system-hibernate | 4 +
21 tools/solaris/ck-system-suspend | 4 +
22 14 files changed, 252 insertions(+)
23 create mode 100644 src/test-inhibit.c
24 create mode 100644 tools/freebsd/ck-system-hibernate
25 create mode 100644 tools/freebsd/ck-system-suspend
26 create mode 100644 tools/linux/ck-system-hibernate
27 create mode 100644 tools/linux/ck-system-suspend
28 create mode 100644 tools/openbsd/ck-system-hibernate
29 create mode 100644 tools/openbsd/ck-system-suspend
30 create mode 100644 tools/solaris/ck-system-hibernate
31 create mode 100644 tools/solaris/ck-system-suspend
33 diff --git a/tools/solaris/Makefile.am b/tools/solaris/Makefile.am
34 index f668722..50b9b27 100644
35 --- a/tools/solaris/Makefile.am
36 +++ b/tools/solaris/Makefile.am
37 @@ -10,6 +10,8 @@ scriptdir = $(prefix)/lib/ConsoleKit/scripts
42 + ck-system-hibernate \
46 diff --git a/tools/solaris/ck-system-hibernate b/tools/solaris/ck-system-hibernate
48 index 0000000..5f31342
50 +++ b/tools/solaris/ck-system-hibernate
54 +# FIXME: Implement this
56 diff --git a/tools/solaris/ck-system-suspend b/tools/solaris/ck-system-suspend
58 index 0000000..5f31342
60 +++ b/tools/solaris/ck-system-suspend
64 +# FIXME: Implement this