Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59262 Details for
Bug 92489
wlan-button userspace tool (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
wlan_button.init
wlan_button.init (text/plain), 941 bytes, created by
Christian Roessner
on 2005-05-19 01:00:50 UTC
(
hide
)
Description:
wlan_button.init
Filename:
MIME Type:
Creator:
Christian Roessner
Created:
2005-05-19 01:00:50 UTC
Size:
941 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># ># $Id: wlan_button.init 7 2005-04-27 17:13:40Z croessner $ ># ># $Header: $ > >depend() { > use net >} > >get_event() { > if test "$DEVNODE" = ""; then > DEVNODE=`grep -si keyboard /sys/class/input/event*/device/driver/description | grep -o 'event[0-9]\+'` > if test $? -eq 0; then > return 0 > else > return 1 > fi > else > einfo "You have specified DEVNODE in /etc/conf.d/wlan_button. Skipping test" > return 0 > fi >} > >start() { > ebegin "Starting wlan_button" > if get_event; then > start-stop-daemon --start --quiet --exec /usr/sbin/wlan_button -- \ > -u $WLANON -d $WLANOFF -e /dev/input/$DEVNODE -m $MODULE > else > eerror "Could not gather event interface. Please check your config file" > fi > eend $? >} > >stop() { > ebegin "Stopping wlan_button" > start-stop-daemon --stop --quiet --exec /usr/sbin/wlan_button > eend $? >} >
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 Raw
Actions:
View
Attachments on
bug 92489
:
58809
|
58810
|
58857
|
59197
|
59260
|
59261
|
59262
|
60270
|
60271
|
60272
|
60672
|
60673
|
60674
|
61166
|
61167
|
64385
|
69202
|
86187