diff --git a/package/avm/tpb/tpb.desc b/package/avm/tpb/tpb.desc new file mode 100644 index 000000000..e3df6d782 --- /dev/null +++ b/package/avm/tpb/tpb.desc @@ -0,0 +1,49 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/avm/tpb/tpb.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] program to handle thinkpad special keys + +[T] TPB is a little program that enables you to use the IBM ThinkPad(tm) +[T] special keys. +[T] With TPB it is possible to bind a program to the ThinkPad, Mail, Home and +[T] Search button. TPB can also run a callback program on each state change +[T] with the changed state and the new state as options. So it is possible to +[T] trigger several actions on different events. TPB has a on-screen display +[T] (OSD) to show volume, mute, brightness and some other informations. +[T] Furthermore TPB supports a software mixer, as the R series ThinkPads have +[T] no hardware mixer to change the volume. + +[U] http://www.nongnu.org/tpb/ + +[A] Markus Braun +[M] Andreas V. 'netrunner' Meier + +[C] extra/tool + +[L] GPL +[S] Beta +[V] 0.6.3 +[P] X -----5---9 800.000 + +[D] 2209564051 tpb-0.6.3.tar.gz http://savannah.nongnu.org/download/tpb/ + diff --git a/package/avm/tpb/tpb.init b/package/avm/tpb/tpb.init new file mode 100644 index 000000000..c516d393d --- /dev/null +++ b/package/avm/tpb/tpb.init @@ -0,0 +1,43 @@ +#!/bin/bash +# +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/avm/tpb/tpb.init +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- +# +# ROCK Linux /etc/rc.d/init.d/tpb +# +# Desc: Thinkpad Button Watcher - make sure to have nvram and thinkpad in kernel +# Runlevel: 55 rcX +# + +main_begin + + block_begin(start, `Starting Thinkpad button watcher.') + check(`modprobe nvram`) + check(`D_prefix/bin/tpb -d --thinkpad="/usr/bin/X11/xterm -T ntpctl -e ntpctl"') + block_end + + block_begin(stop, `Stopping Thinkpad button watcher.') + check(`killall tpb') + block_end + +main_end +