Add lestatus vconf value reset
[platform/core/connectivity/bluetooth-tools.git] / scripts / mobile / bt-reset-env.sh
index 57c0a7b..1f18c0f 100755 (executable)
@@ -10,13 +10,14 @@ rm -rf /opt/data/bluetooth/.bt_paired
 rm -rf /var/lib/bluetooth/*
 
 # Initialize BT vconf values
+vconftool set -f -t  int db/bluetooth/lestatus "0" -g 6520
 vconftool set -f -t int db/bluetooth/status "0" -g 6520
 vconftool set -f -t int file/private/bt-service/flight_mode_deactivated "0" -g 6520
-vconftool set -f -t string memory/bluetooth/sco_headset_name "" -g 6520 -i
-vconftool set -f -t int memory/bluetooth/device "0" -g 6520 -i
+vconftool set -f -t string memory/bluetooth/sco_headset_name "" -g 6520
+vconftool set -f -t int memory/bluetooth/device "0" -g 6520
 vconftool set -f -t int file/private/libug-setting-bluetooth-efl/visibility_time "0" -g 6520
-vconftool set -f -t bool memory/private/bluetooth-share/quickpanel_clear_btn_status FALSE -g 6520 -i
-vconftool set -f -t bool memory/private/bluetooth-share/opp_server_init FALSE -g 6520 -i
+vconftool set -f -t bool memory/private/bluetooth-share/quickpanel_clear_btn_status FALSE -g 6520
+vconftool set -f -t bool memory/private/bluetooth-share/opp_server_init FALSE -g 6520
 
 # Remove BT shared memory
 list=`ipcs -m | awk '$1==0x0001000 {print $2}'`