From: seungku kim Date: Wed, 10 Jun 2015 02:16:58 +0000 (+0900) Subject: 3.0 specific patch: change vconftool usage X-Git-Tag: accepted/tizen/mobile/20150702.104851~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fconnectivity%2Fbluetooth-tools.git;a=commitdiff_plain;h=1619e092526aa3cf5fcd5f9f92f0e4fa685a5623 3.0 specific patch: change vconftool usage Change-Id: I68c65f2f2de74a273b78f2b0c4c14d4aea2c0069 --- diff --git a/scripts/etc/bt-reset-env.sh b/scripts/etc/bt-reset-env.sh index 1ce9fa9..4ac25f4 100755 --- a/scripts/etc/bt-reset-env.sh +++ b/scripts/etc/bt-reset-env.sh @@ -11,14 +11,14 @@ rm -rf $TZ_SYS_DATA/bluetooth/.bt_paired rm -rf /var/lib/bluetooth/* # Initialize BT vconf values -vconftool set -tf int db/bluetooth/status "0" -g 6520 -vconftool set -tf int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i -vconftool set -tf string memory/bluetooth/sco_headset_name "" -g 6520 -i -vconftool set -tf int memory/bluetooth/device "0" -g 6520 -i -vconftool set -tf int memory/bluetooth/btsco "0" -g 6520 -i -vconftool set -tf int file/private/libug-setting-bluetooth-efl/visibility_time "0" -g 6520 -vconftool set -tf bool memory/private/bluetooth-share/quickpanel_clear_btn_status FALSE -g 6520 -i -vconftool set -tf bool memory/private/bluetooth-share/opp_server_init FALSE -g 6520 -i +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 int memory/bluetooth/btsco "0" -g 6520 -i +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 # Remove BT shared memory list=`ipcs -m | awk '$1==0x0001000 {print $2}'` diff --git a/scripts/mobile/bt-reset-env.sh b/scripts/mobile/bt-reset-env.sh index 71d1efc..57c0a7b 100755 --- a/scripts/mobile/bt-reset-env.sh +++ b/scripts/mobile/bt-reset-env.sh @@ -10,13 +10,13 @@ rm -rf /opt/data/bluetooth/.bt_paired rm -rf /var/lib/bluetooth/* # Initialize BT vconf values -vconftool set -tf int db/bluetooth/status "0" -g 6520 -vconftool set -tf int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i -vconftool set -tf string memory/bluetooth/sco_headset_name "" -g 6520 -i -vconftool set -tf int memory/bluetooth/device "0" -g 6520 -i -vconftool set -tf int file/private/libug-setting-bluetooth-efl/visibility_time "0" -g 6520 -vconftool set -tf bool memory/private/bluetooth-share/quickpanel_clear_btn_status FALSE -g 6520 -i -vconftool set -tf bool memory/private/bluetooth-share/opp_server_init FALSE -g 6520 -i +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 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 # Remove BT shared memory list=`ipcs -m | awk '$1==0x0001000 {print $2}'` diff --git a/scripts/wearable/bt-reset-env.sh b/scripts/wearable/bt-reset-env.sh index 71d1efc..57c0a7b 100755 --- a/scripts/wearable/bt-reset-env.sh +++ b/scripts/wearable/bt-reset-env.sh @@ -10,13 +10,13 @@ rm -rf /opt/data/bluetooth/.bt_paired rm -rf /var/lib/bluetooth/* # Initialize BT vconf values -vconftool set -tf int db/bluetooth/status "0" -g 6520 -vconftool set -tf int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i -vconftool set -tf string memory/bluetooth/sco_headset_name "" -g 6520 -i -vconftool set -tf int memory/bluetooth/device "0" -g 6520 -i -vconftool set -tf int file/private/libug-setting-bluetooth-efl/visibility_time "0" -g 6520 -vconftool set -tf bool memory/private/bluetooth-share/quickpanel_clear_btn_status FALSE -g 6520 -i -vconftool set -tf bool memory/private/bluetooth-share/opp_server_init FALSE -g 6520 -i +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 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 # Remove BT shared memory list=`ipcs -m | awk '$1==0x0001000 {print $2}'`