diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-07-19 18:26:27 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-07-19 18:26:27 +0000 |
commit | 1f7000101ed415687c04897376a90ef4d0cb998b (patch) | |
tree | 9fee0a8c1348ef6ef9793c054f35529662f82397 /app-laptop | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-1f7000101ed415687c04897376a90ef4d0cb998b.tar.gz gentoo-2-1f7000101ed415687c04897376a90ef4d0cb998b.tar.bz2 gentoo-2-1f7000101ed415687c04897376a90ef4d0cb998b.zip |
Punt old file
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/laptop-mode-tools/Manifest | 4 | ||||
-rw-r--r-- | app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.31-init.d | 35 |
2 files changed, 0 insertions, 39 deletions
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest index 6e4d58b2835f..d075e6971560 100644 --- a/app-laptop/laptop-mode-tools/Manifest +++ b/app-laptop/laptop-mode-tools/Manifest @@ -1,7 +1,3 @@ -AUX laptop-mode-tools-1.31-init.d 860 RMD160 e5f96f4d0272a1a064819a610363de0240645f79 SHA1 52ca263fc4ee679bbdeb9a592b8e9b99d6fa7b22 SHA256 82b20b32c5ff91f6edefd9ab2f643c373623ac002c744725cba9e01924a37095 -MD5 37fd300b2d6b8b4ffe40621172c4816a files/laptop-mode-tools-1.31-init.d 860 -RMD160 e5f96f4d0272a1a064819a610363de0240645f79 files/laptop-mode-tools-1.31-init.d 860 -SHA256 82b20b32c5ff91f6edefd9ab2f643c373623ac002c744725cba9e01924a37095 files/laptop-mode-tools-1.31-init.d 860 AUX laptop_mode.init 924 RMD160 7587e9725ca20164e0f5942eb16fbdf743d51ca8 SHA1 0f0170b16715ebe1519b3bb8ef0d027b8c1b3f7c SHA256 f645221a1790ae719405859e7be91076947a82ea938cf5d1a1e94c70ab70a694 MD5 3203ed4af7ea39da501e1bf1dee1265b files/laptop_mode.init 924 RMD160 7587e9725ca20164e0f5942eb16fbdf743d51ca8 files/laptop_mode.init 924 diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.31-init.d b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.31-init.d deleted file mode 100644 index ae50d4da5381..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.31-init.d +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 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.31-init.d,v 1.1 2006/04/18 09:56:24 brix Exp $ - -opts="${opts} reload" - -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 init &> /dev/null - eend ${?} -} - -stop() { - ebegin "Stopping laptop_mode" - rm -f /var/run/laptop-mode-enabled - /usr/sbin/laptop_mode stop init &> /dev/null - eend ${?} -} - -reload() { - ebegin "Restarting laptop_mode" - /usr/sbin/laptop_mode auto init force &> /dev/null - eend ${?} -} |