Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92013 Details for
Bug 91558
new ebuilds:bluetooth-alsa-1.6-r2.ebuild btsco-0.4a.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
headset init script with choice over BTSCO/BTSCO2
headset (text/plain), 1018 bytes, created by
Andrzej
on 2006-07-17 12:04:31 UTC
(
hide
)
Description:
headset init script with choice over BTSCO/BTSCO2
Filename:
MIME Type:
Creator:
Andrzej
Created:
2006-07-17 12:04:31 UTC
Size:
1018 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need bluetooth alsasound >} > >checkconfig() { > # check that the configuration file has been configured. > if [ -z "$BDADDR" ]; then > eerror "You should setup BDADDR in /etc/conf.d/headset." > return 1 > fi > > # define BTSCO in /etc/conf.d/headset to be btsco or btsco2 > # defaults to btsco > if [ -z "$BTSCO" ]; then > BTSCO=btsco > fi > > if ! [ -d /sys/module/snd_bt_sco ]; then > ebegin "Loading bluetooth-alsa kernel module (snd_bt_sco)." > /sbin/modprobe snd-bt-sco > eend $? || return 1 > fi >} > >start() { > checkconfig || return 1 > > ebegin "Connecting to headset" > start-stop-daemon --start \ > --make-pidfile --pidfile /var/run/$BTSCO \ > --background --exec /usr/bin/$BTSCO -- $BDADDR > sleep 1 > ps -C $BTSCO >/dev/null > eend $? >} > >stop() { > ebegin "Stopping $BTSCO daemon" > start-stop-daemon --stop --quiet --pidfile /var/run/$BTSCO > 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 91558
:
58130
|
58131
|
58132
|
58133
|
74911
|
74912
|
75892
|
75989
|
76076
|
76128
|
76129
|
76130
|
76131
|
77427
|
77428
|
79189
|
79190
|
79835
|
79836
|
80065
|
80066
|
80337
|
80338
|
86024
| 92013 |
105443
|
105450
|
105556
|
105793
|
105795
|
109657
|
112916
|
112918
|
112919
|
115957
|
116063
|
117200
|
124658
|
124659
|
124661
|
124667
|
124926
|
126016
|
145630
|
183254