Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Startup race condition on Trusty #8

Open
mikepurvis opened this issue Feb 23, 2015 · 0 comments
Open

Startup race condition on Trusty #8

mikepurvis opened this issue Feb 23, 2015 · 0 comments

Comments

@mikepurvis
Copy link

The present init script, used on Ubuntu/Debian, can fail if the controller comes up before the hci device is available (or is enabled by connmand). The script is presently a one-shot-and-die:

bt_device_check () {

I would suggest that this check be replaced by multiple-try approach, perhaps five tries separated by 1 second each. Alternatively, if Ubuntu Trusty could be supplied with an Upstart job which specifies the respawn argument.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant