/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 <erdge...@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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to "freebsd-bluetooth-unsubscr...@freebsd.org" _______________________________________________ freebsd-bluetooth@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth To unsubscribe, send any mail to "freebsd-bluetooth-unsubscr...@freebsd.org"