diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-12-14 18:27:57 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-12-14 18:27:57 +0000 |
commit | 5706b6b097fc15552f8dff7387171340667ce5da (patch) | |
tree | d0100b7e2f9b9a3068effa8268ccc3d6220e8c7c /app-laptop/laptop-mode-tools/files | |
parent | ttmkfdir was moved from x11-misc to x11-apps. (diff) | |
download | gentoo-2-5706b6b097fc15552f8dff7387171340667ce5da.tar.gz gentoo-2-5706b6b097fc15552f8dff7387171340667ce5da.tar.bz2 gentoo-2-5706b6b097fc15552f8dff7387171340667ce5da.zip |
Pruned old ebuilds.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'app-laptop/laptop-mode-tools/files')
-rw-r--r-- | app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.10 | 1 | ||||
-rw-r--r-- | app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d | 25 |
2 files changed, 0 insertions, 26 deletions
diff --git a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.10 b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.10 deleted file mode 100644 index 5f8de2873de1..000000000000 --- a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.10 +++ /dev/null @@ -1 +0,0 @@ -MD5 cf67d837efe75dcf082a10df6897add5 laptop-mode-tools_1.10.tar.gz 40351 diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d deleted file mode 100644 index 2a3826fb6693..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d,v 1.1 2005/08/17 13:59:41 brix Exp $ - -checkconfig() { - if [ ! -f /proc/sys/vm/laptop_mode ]; then - eerror "Kernel does not support laptop_mode" - return 1 - fi -} - -start() { - checkconfig || return 1 - - ebegin "Starting laptop_mode" - touch /var/run/laptop-mode-enabled && /usr/sbin/laptop_mode auto &> /dev/null - eend $? -} - -stop() { - ebegin "Stopping laptop_mode" - /usr/sbin/laptop_mode stop &> /dev/null && rm -f /var/run/laptop-mode-enabled - eend $? -} |