Hi, On Wed, Sep 27, 2006 at 01:22:47PM +0200, Alessandro Valente wrote: > Package: bluez-utils > Version: 3.5-1 > Severity: normal > > I have SDPTOOL_OPTIONS="add --channel=3 SP" in my /etc/default/bluetooth. > The command fails because kernel modules need time to load. > I need to insert a "sleep 1" to make things work. > > Also sdptool outputs and errors are redirected to /dev/null > and no check is done for errors.
sorry for the late reply, I implemented the error checking as follows:
if [ "$VERBOSE" != no ]; then
$SDPTOOL $o
else
$SDPTOOL $o >/dev/null 2>&1
fi
so by default you'll get sdptool messages, but they won't be fatal to the init
script
for your delay issue I'm not sure how to proceed but preloading modules via
/etc/modules seems like a sensible solution for you, if that's a common
issue the sleep command can be taken into account for addition, though.
thanks for your report,
filippo
--
Filippo Giunchedi - http://esaurito.net
PGP key: 0x6B79D401
random quote follows:
What a strange illusion it is to suppose that beauty is goodness.
-- Lev Tolstoj
signature.asc
Description: Digital signature

