diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-03-18 12:24:41 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-03-18 12:24:41 +0000 |
commit | 397a3d7a0d54e6cb4f2611b0323f643fee4a41e8 (patch) | |
tree | e446e52af0809ef3a9138225c8d3dd1ea8324d77 /app-laptop/tpctl/files | |
parent | Removal, bug 350164. (diff) | |
download | gentoo-2-397a3d7a0d54e6cb4f2611b0323f643fee4a41e8.tar.gz gentoo-2-397a3d7a0d54e6cb4f2611b0323f643fee4a41e8.tar.bz2 gentoo-2-397a3d7a0d54e6cb4f2611b0323f643fee4a41e8.zip |
Removal, bug #381263
Diffstat (limited to 'app-laptop/tpctl/files')
-rw-r--r-- | app-laptop/tpctl/files/apmiser.rc | 17 | ||||
-rw-r--r-- | app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff | 29 |
2 files changed, 0 insertions, 46 deletions
diff --git a/app-laptop/tpctl/files/apmiser.rc b/app-laptop/tpctl/files/apmiser.rc deleted file mode 100644 index fb21fdd47a0c..000000000000 --- a/app-laptop/tpctl/files/apmiser.rc +++ /dev/null @@ -1,17 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpctl/files/apmiser.rc,v 1.2 2004/07/14 21:31:16 agriffis Exp $ - -start() { - ebegin "Starting Thinkpad Battery Maximiser" - start-stop-daemon --start --background --quiet --make-pidfile \ - --pidfile /var/run/apmiser.pid --exec /usr/sbin/apmiser - eend $? -} - -stop () { - ebegin "Shutting down Thinkpad Battery Maximiser" - start-stop-daemon --stop --quiet --pid /var/run/apmiser.pid - eend $? -} diff --git a/app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff b/app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff deleted file mode 100644 index 1eec002ab9d8..000000000000 --- a/app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff +++ /dev/null @@ -1,29 +0,0 @@ -diff -ur tpctl-4.4/tpctlir/tpctlir.c tpctl-4.4/tpctlir/tpctlir.c ---- tpctl-4.4/tpctlir/tpctlir.c 2002-03-01 14:46:14.000000000 +0100 -+++ tpctl-4.4/tpctlir/tpctlir.c 2003-10-04 18:00:40.000000000 +0200 -@@ -1,6 +1,7 @@ - #include <asm/system.h> - #include <sys/io.h> - #include <stdio.h> -+#include <string.h> - - /* - * enable/disable IR on IBM ThinkPads with -@@ -29,7 +30,7 @@ - return 2; - } - -- cli(); -+ asm("cli"); - - val94 = inb(0x94); /* POS mask register */ - outb(0xfE, 0x94); /* mask bit (0) for IR; changes enabled */ -@@ -44,7 +45,7 @@ - outb(val94, 0x94); /* restore POS mask to prevent changing */ - outb(val94, 0x47); /* pause */ - -- sti(); -+ asm("sti"); - - return 0; - } |