mirror of
https://git.yoctoproject.org/poky
synced 2026-06-05 14:29:48 +00:00
bluez5: cosmetic fixes to bluetooth bootscript
Fix booting messages wrapped over two different lines:
Starting bluetooth
bluetoothd
Stopping bluetooth
/usr/libexec/bluetooth/bluetoothd
Also reworked whitespace (removed some empty lines).
(From OE-Core rev: 62f1122ef166eba56441d669c6b3b3fe5f367418)
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0731fd41db
commit
489e2e3243
@@ -21,25 +21,22 @@ set -e
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
echo "Starting $DESC"
|
||||
|
||||
echo -n "Starting $DESC: "
|
||||
if test "$BLUETOOTH_ENABLED" = 0; then
|
||||
echo "disabled. see /etc/default/bluetooth"
|
||||
echo "disabled (see /etc/default/bluetooth)."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
start-stop-daemon --start --background $SSD_OPTIONS
|
||||
echo "${DAEMON##*/}"
|
||||
|
||||
echo "${DAEMON##*/}."
|
||||
;;
|
||||
stop)
|
||||
echo "Stopping $DESC"
|
||||
echo -n "Stopping $DESC: "
|
||||
if test "$BLUETOOTH_ENABLED" = 0; then
|
||||
echo "disabled."
|
||||
echo "disabled (see /etc/default/bluetooth)."
|
||||
exit 0
|
||||
fi
|
||||
start-stop-daemon --stop $SSD_OPTIONS
|
||||
echo "${DAEMON}"
|
||||
echo "${DAEMON##*/}."
|
||||
;;
|
||||
restart|force-reload)
|
||||
$0 stop
|
||||
|
||||
Reference in New Issue
Block a user