'/etc/rc.d/bluetooth start ubt0' don't show debug messages
Ronald Klop
ronald-freebsd8 at klop.yi.org
Sun Apr 15 20:04:44 UTC 2012
On Sun, 15 Apr 2012 21:32:05 +0200, Xavier
<xavierfreebsdbluetooth at aim.com> wrote:
> On Sun, Apr 15, 2012 at 02:43:43PM +0200, Ronald Klop wrote:
>
> Hi Ronald,
>
>> On Fri, 13 Apr 2012 17:11:59 +0200, Xavier
>> <xavierfreebsdbluetooth at aim.com> wrote:
>>
>> > Hi to all,
>> >
>> > I'm following the "32.4.2 Plugging in the Device" section of our
>> > Handbook.
>> >
>> > When I try '/etc/rc.d/bluetooth start ubt0' command, it, don't show
>> > debug messages like same command on "32.4.2 Plugging in the Device"
>> > section of our Handbook:
>> >
>> > # /etc/rc.d/bluetooth start ubt0
>> > #
>> >
>> > Why my test command don't show debug messages ?
>> >
>> > Thanks, see you.
>>
>> Put 'set -x' at the top of /etc/rc.d/bluetooth (under the '# KEYWORD:
>> ...'
>> line for example) and try again. It will print what the script is doing
>> and might give a hint about what goes wrong.
>>
>
> # set -x
> # /etc/rc.d/bluetooth start ubt0
> + /etc/rc.d/bluetooth start ubt0
> #
>
> any output ?
>
> Thanks, see you.
>
I suggested you edit the /etc/rc.d/bluetooth file to add 'set -x' in the
file.
An alternative is to run it like this (on one line):
sh -x /etc/rc.d/bluetooth start ubt0
Every line of output prefixed with a '+' is a command run by sh.
But see the reply of Maksim also. He knows a lot about bluetooth on
freebsd.
Ronald.
More information about the freebsd-bluetooth
mailing list