summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-laptop/tpctl/files')
-rw-r--r--app-laptop/tpctl/files/apmiser.rc17
-rw-r--r--app-laptop/tpctl/files/tpctlir-cli-4.4-r1.diff29
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;
- }