Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162060 Details for
Bug 233681
hotkey-setup-0.1.ebuild (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
init.patch
init.patch (text/plain), 1.16 KB, created by
Frederic LIETART
on 2008-08-03 06:13:57 UTC
(
hide
)
Description:
init.patch
Filename:
MIME Type:
Creator:
Frederic LIETART
Created:
2008-08-03 06:13:57 UTC
Size:
1.16 KB
patch
obsolete
>--- hotkey-setup-0.1/debian/init.d 2008-06-15 22:33:20.000000000 +0200 >+++ hotkey-setup-0.1/debian/init.d 2008-06-15 22:54:06.000000000 +0200 >@@ -1,4 +1,4 @@ >-#!/bin/bash >+#!/sbin/runscript > > manufacturer=`dmidecode --string system-manufacturer` > name=`dmidecode --string system-product-name` >@@ -9,6 +9,7 @@ > THINKPAD_PROC_HOTKEY=/proc/acpi/ibm/hotkey > THINKPAD_KEYS=/usr/sbin/thinkpad-keys > >+ > do_video () { > VIDEO=`sed -n -e '/^[ \t]*section[ \\t]*"device"/I,/^[ \t]*endsection/I{/^[ \t]*driver[ \t]*/I{s/^[ \t]*driver[ \t]*"*//I;s/"*[ \t]*$//;p}}' /etc/X11/xorg.conf` > case $VIDEO in >@@ -47,8 +48,7 @@ > fi > } > >-case "$1" in >- start) >+start() { > > # This entire block does nothing on desktops right now > if laptop-detect; then >@@ -148,17 +148,14 @@ > esac > . /usr/share/hotkey-setup/generic.hk > fi >- ;; >- stop) >- if [ -f $THINKPAD_LOCKFILE ]; then >+} >+ >+stop() { >+ if [ -f $THINKPAD_LOCKFILE ]; then > kill `pidof thinkpad-keys` || true ; rm -f $THINKPAD_LOCKFILE > fi > if [ -f $SAVED_STATE ]; then > setkeycodes $(cat $SAVED_STATE) || true > fi >- ;; >- restart|force-reload) >- $0 stop || true >- $0 start >- ;; >-esac >+} >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 233681
:
161960
|
161968
|
161976
|
161977
|
162058
| 162060