service bluetooth start ubt0 fails every other time
Maksim Yevmenkin
maksim.yevmenkin at gmail.com
Mon Sep 21 00:58:01 UTC 2015
/etc/rc.d/bluetooth start/stop is executed from devd (on device
arrival / departure). there is no real need to execute bluetooth
start/stop by hand. i would implement this as part of
/etc/rc.d/bluetooth status command (just like other rc.d services),
i.e.
# /etc/rc.bluetooth status ubt0
should print status, i.e. running/non-running. very similar to daemon
process status
thanks,
max
On Sun, Sep 20, 2015 at 5:40 PM, Dirk Engling <erdgeist at erdgeist.org> wrote:
> On 21.09.15 01:30, Dirk Engling wrote:
>
>> Maybe the rc script should check if the stack is already set up and exit
>> with a more verbose error and then not shut down the interface?
>
> I think the attached patch does what is needed. Looking forward to your
> comments.
>
> erdgeist
>
> _______________________________________________
> freebsd-bluetooth at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
> To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe at freebsd.org"
More information about the freebsd-bluetooth
mailing list