Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 105450 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]
btsco init script (easier connection/disconnection of headset)
btsco (text/plain), 897 bytes, created by
Peter Johansson
on 2007-01-04 22:41:57 UTC
(
hide
)
Description:
btsco init script (easier connection/disconnection of headset)
Filename:
MIME Type:
Creator:
Peter Johansson
Created:
2007-01-04 22:41:57 UTC
Size:
897 bytes
patch
obsolete
>#!/sbin/runscript >#BTSCO init script - Written By Peter Johansson > >BTSCO_PID="/var/run/btsco.pid" >BTSCO_CONF="/etc/conf.d/btsco.conf" >BDADDR=`sed 's/BDADDR=//' /etc/conf.d/btsco.conf` > >checkconfig() { > if [[ ! -e ${BTSCO_CONF} ]] ; then > eerror Couldnt find ${BTSCO_CONF} Please create the config file > eerror and add the following line: BDADDR=XX:XX:XX:XX:XX:XX > return 1 > fi > return 0 >} > > >start() { > checkconfig || return $? > > ebegin "Connecting the bluetooth headset" > start-stop-daemon --start --exec /usr/bin/btsco ${BDADDR} \ > --background --make-pidfile --pidfile "${BTSCO_PID}" > eend $? "Failed to connect the bluetooth headset" >} > >stop() { > ebegin "Disconnecting the bluetooth headset" > start-stop-daemon --stop --quiet --exec /usr/bin/btsco \ > --pidfile "${BTSCO_PID}" > 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