Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 202542 Details for
Bug 283057
net-wireless/bluez init script uses bashisms
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Few fixes in init.d script
bluetooth-init.d.diff (text/plain), 1.18 KB, created by
Michał Górny
on 2009-08-28 19:08:18 UTC
(
hide
)
Description:
Few fixes in init.d script
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2009-08-28 19:08:18 UTC
Size:
1.18 KB
patch
obsolete
>--- bluetooth-init.d.orig 2009-08-28 20:51:53.000000000 +0200 >+++ bluetooth-init.d 2009-08-28 21:00:07.000000000 +0200 >@@ -9,10 +9,11 @@ depend() { > } > > start() { >- ebegin "Starting Bluetooth" >- local result=0 >+ ebegin "Starting Bluetooth" >+ local result > >- ebegin " Starting bluetoothd" >+ eindent >+ ebegin "Starting bluetoothd" > # -s enables internal sdp server > start-stop-daemon --start \ > --exec /usr/sbin/bluetoothd >@@ -20,24 +21,23 @@ start() { > eend ${result} > > if [ "${HID2HCI_ENABLE}" = "true" -a -x /usr/sbin/hid2hci ]; then >- ebegin " Running hid2hci" >- /usr/sbin/hid2hci --tohci -q #be quiet >- [ ${result} == 0 ] && result=$? >- eend ${result} >+ ebegin "Running hid2hci" >+ /usr/sbin/hid2hci --tohci -q #be quiet >+ eend $? > fi > > if [ "${RFCOMM_ENABLE}" = "true" -a -x /usr/bin/rfcomm ]; then > if [ -f "${RFCOMM_CONFIG}" ]; then >- ebegin " Starting rfcomm" >+ ebegin "Starting rfcomm" > /usr/bin/rfcomm -f "${RFCOMM_CONFIG}" bind all >- [ ${result} == 0 ] && result=$? >- eend ${result} >+ eend $? > else > ewarn "Not enabling rfcomm because RFCOMM_CONFIG does not exists" > fi > fi > >- eend ${result} >+ eoutdent >+ return ${result} > } > > stop() {
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 283057
: 202542 |
202544