projects
/
platform
/
core
/
connectivity
/
bluetooth-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add multi-user support
[platform/core/connectivity/bluetooth-tools.git]
/
scripts
/
bt-reset-env.sh
diff --git
a/scripts/bt-reset-env.sh
b/scripts/bt-reset-env.sh
index
4532357
..
1ce9fa9
100755
(executable)
--- a/
scripts/bt-reset-env.sh
+++ b/
scripts/bt-reset-env.sh
@@
-6,7
+6,8
@@
killall -9 hciattach
# Remove BT files and setting
-rm -rf /opt/data/bluetooth/.bt_paired
+eval $(tzplatform-get TZ_SYS_DATA)
+rm -rf $TZ_SYS_DATA/bluetooth/.bt_paired
rm -rf /var/lib/bluetooth/*
# Initialize BT vconf values