diff options
author | Jesse Gilles <jgilles@multitech.com> | 2012-09-14 14:20:40 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2012-09-18 13:36:56 -0500 |
commit | c573dda027b9f56d67365ca7abde0875af0000aa (patch) | |
tree | 0607074f85d12975a17822b31e2acf447e3c990a | |
parent | 34aafef2dbe70bd2724a33ce8e68a0cb20b114b5 (diff) |
bluez: mt100ecog-pcie-dk: update bluetooth init script
-rwxr-xr-x | multitech/recipes/bluez/files/bluetooth.init | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/multitech/recipes/bluez/files/bluetooth.init b/multitech/recipes/bluez/files/bluetooth.init index 411fd6d..41312e2 100755 --- a/multitech/recipes/bluez/files/bluetooth.init +++ b/multitech/recipes/bluez/files/bluetooth.init @@ -1,7 +1,11 @@ #!/bin/sh -echo "Enabling bluetooth..." -mts-io-sysfs store bt-enabled 1 -sleep 1 -echo "Setting up bluetooth device..." -hciattach /dev/bt texas +case "$1" in + start) + echo "Enabling bluetooth..." + mts-io-sysfs store bt-enabled 1 + sleep 1 + echo "Setting up bluetooth device..." + hciattach /dev/bt texas + ;; +esac |