bluetooth-init: cosmetic, boot message in one line
Avoid splitting the boot script message in two different lines: Starting bluetooth hardware: [OK] done. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
f9acd0af7c
commit
57365612da
|
|
@ -69,10 +69,8 @@ bluetooth_init() {
|
|||
HCIATTACH_LOG="/var/log/hciattach.log"
|
||||
killproc hciattach
|
||||
powercycle_gpio "${BT_EN_QCA_GPIO_NR}"
|
||||
if hciattach ttyBt qca ${BT_RATE:-3000000} -t30 ${BT_FLOW:-flow} unused ${BT_MACADDR} >${HCIATTACH_LOG} 2>&1; then
|
||||
echo "[OK]"
|
||||
else
|
||||
echo "[FAIL]"
|
||||
if ! hciattach ttyBt qca ${BT_RATE:-3000000} -t30 ${BT_FLOW:-flow} unused ${BT_MACADDR} >${HCIATTACH_LOG} 2>&1; then
|
||||
BT_ERROR="FAIL (hciattach)"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue