summaryrefslogtreecommitdiff
path: root/src/pm-powersave
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-03-14 14:56:26 +0000
committerPeter Jones <pjones@redhat.com>2006-03-14 14:56:26 +0000
commit66cb171a7ffd41388cc568e43a44ecd7264bba1a (patch)
tree84e4e2d98e24c15f3903d43fd17578c0e16c030a /src/pm-powersave
parent976d0852cce44d9f0a3cde3e0d51e0ee0f3b5ac9 (diff)
- move near-identical pm-suspend and pm-resume logic to pm/functions
- make pm-suspend and pm-resume generic, using pm-action - add "hibernate" and "thaw" actions to scripts - get rid of kludgy PM_MODE - add pm/hooks/00clear, which clears the screen on tty63 before doing all this stuff - move pm-hibernate's default_resume_kernel into 01grub, which only does anything on "hibernate" - make 20video not do anything on hibernate either, not just thaw
Diffstat (limited to 'src/pm-powersave')
-rwxr-xr-xsrc/pm-powersave2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pm-powersave b/src/pm-powersave
index 59ae43a..ff15d82 100755
--- a/src/pm-powersave
+++ b/src/pm-powersave
@@ -10,8 +10,6 @@
# Values are taken from the laptop-tools package
# Bart Samwel <bart@samwel.tk>
-export PM_MODE="powersave"
-
if [ "$1" == "true" ] ; then
echo "SetLowPower ON"
DISK_IDLE_SECS=2