@ -0,0 +1,29 @@ |
|||||
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
||||
|
# |
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
# Please add additional copyright information _after_ the line containing |
||||
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
||||
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
||||
|
# |
||||
|
# ROCK Linux: rock-src/package/hannes/hibernate/hibernate.conf |
||||
|
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
||||
|
# |
||||
|
# This program is free software; you can redistribute it and/or modify |
||||
|
# it under the terms of the GNU General Public License as published by |
||||
|
# the Free Software Foundation; either version 2 of the License, or |
||||
|
# (at your option) any later version. A copy of the GNU General Public |
||||
|
# License can be found at Documentation/COPYING. |
||||
|
# |
||||
|
# Many people helped and are helping developing ROCK Linux. Please |
||||
|
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
||||
|
# file for details. |
||||
|
# |
||||
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
|
||||
|
hibernate_main() |
||||
|
{ |
||||
|
BASE_DIR=$root/ PREFIX=usr/ ./install.sh |
||||
|
} |
||||
|
|
||||
|
custmain="hibernate_main" |
@ -0,0 +1,46 @@ |
|||||
|
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
||||
|
[COPY] |
||||
|
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
[COPY] Please add additional copyright information _after_ the line containing |
||||
|
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
||||
|
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
||||
|
[COPY] |
||||
|
[COPY] ROCK Linux: rock-src/package/hannes/hibernate/hibernate.desc |
||||
|
[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
||||
|
[COPY] |
||||
|
[COPY] This program is free software; you can redistribute it and/or modify |
||||
|
[COPY] it under the terms of the GNU General Public License as published by |
||||
|
[COPY] the Free Software Foundation; either version 2 of the License, or |
||||
|
[COPY] (at your option) any later version. A copy of the GNU General Public |
||||
|
[COPY] License can be found at Documentation/COPYING. |
||||
|
[COPY] |
||||
|
[COPY] Many people helped and are helping developing ROCK Linux. Please |
||||
|
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
||||
|
[COPY] file for details. |
||||
|
[COPY] |
||||
|
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
[I] a script providing OS based support for suspending your Linux computer |
||||
|
|
||||
|
[T] Software Suspend is most easily described as the Linux equivalent of |
||||
|
[T] Windows' hibernate functionality. It saves the contents of memory to |
||||
|
[T] disk and powers down. When the computer is started up again, it reloads |
||||
|
[T] the contents and the user can continue from where they left off. No |
||||
|
[T] documents need to be reloaded or applications reopened and the process |
||||
|
[T] is much faster than a normal shutdown and start up. |
||||
|
|
||||
|
[U] http://developer.berlios.de/projects/softwaresuspend/ |
||||
|
|
||||
|
[A] Bernard B. <dagobah@users.berlios.de> |
||||
|
[A] Michael Frank <mhf@users.berlios.de> |
||||
|
[A] Nigel Cunningham <nigelcunningham@users.berlios.de> |
||||
|
[M] hannes <hannes@eperm.net> |
||||
|
|
||||
|
[C] extra/base |
||||
|
|
||||
|
[L] GPL |
||||
|
[S] Stable |
||||
|
[V] 1.02 |
||||
|
[P] X -?---5---9 300.000 |
||||
|
|
||||
|
[D] 3316050455 hibernate-script-1.02.tar.gz http://download.berlios.de/softwaresuspend/ |
@ -0,0 +1,40 @@ |
|||||
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
||||
|
# |
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
# Please add additional copyright information _after_ the line containing |
||||
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
||||
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
||||
|
# |
||||
|
# ROCK Linux: rock-src/package/hannes/hibernate/install-sh.patch |
||||
|
# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf |
||||
|
# |
||||
|
# This patch file is dual-licensed. It is available under the license the |
||||
|
# patched project is licensed under, as long as it is an OpenSource license |
||||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
|
# of the GNU General Public License as published by the Free Software |
||||
|
# Foundation; either version 2 of the License, or (at your option) any later |
||||
|
# version. |
||||
|
# |
||||
|
# --- ROCK-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
--- ./install.sh.orig 2004-12-04 00:40:57.651911496 +0100
|
||||
|
+++ ./install.sh 2004-12-04 00:41:12.443662808 +0100
|
||||
|
@@ -14,18 +14,6 @@
|
||||
|
|
||||
|
[ -z "$OLD_SCRIPTLET_DIR" ] && OLD_SCRIPTLET_DIR=$CONFIG_DIR/scriptlets.d |
||||
|
|
||||
|
-# Test if the script is already installed.
|
||||
|
-if [ -d $CONFIG_DIR -o -f $SCRIPT_DEST ] ; then
|
||||
|
- echo "Config directory $CONFIG_DIR and/or $SCRIPT_DEST already exist."
|
||||
|
- echo -n "Are you sure you want to overwrite them? (y/N) "
|
||||
|
- read REPLY
|
||||
|
- echo
|
||||
|
- case $REPLY in
|
||||
|
- y*|Y*) ;;
|
||||
|
- *) echo "Aborting!" ; exit 1 ;;
|
||||
|
- esac
|
||||
|
-fi
|
||||
|
-
|
||||
|
( |
||||
|
set -e |
||||
|
|