summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKunhoon Baik <knhoon.baik@samsung.com>2015-10-17 14:57:27 +0900
committerKunhoon Baik <knhoon.baik@samsung.com>2015-10-17 14:57:33 +0900
commit27a727b1edffa0834950fa051e7fab4583f44d38 (patch)
tree476f04c06a0cdd32a7d22f4a00e595a3ea067a79
parent08cef0f55df6ba0cb3f1ad9a265cae3f224f6c4c (diff)
downloaddeviced-27a727b1edffa0834950fa051e7fab4583f44d38.tar.gz
deviced-27a727b1edffa0834950fa051e7fab4583f44d38.tar.bz2
deviced-27a727b1edffa0834950fa051e7fab4583f44d38.zip
According to patch : https://review.tizen.org/gerrit/#/c/49646/, For buxton memory-init key, Vconf script does not update existing memory-init keys any more Thus, this patch removes unnecessary duplicated code for initializing memory-init keys. Change-Id: I27f20009a7482a28a64facf53afcb31a24d01c4a
-rw-r--r--packaging/deviced.spec24
1 files changed, 0 insertions, 24 deletions
diff --git a/packaging/deviced.spec b/packaging/deviced.spec
index 5cf9c1de..c8fcb542 100644
--- a/packaging/deviced.spec
+++ b/packaging/deviced.spec
@@ -256,30 +256,6 @@ rm -rf %{buildroot}
#memory type vconf key init
users_gid=$(getent group %{TZ_SYS_USER_GROUP} | cut -f3 -d':')
-vconftool set -t int memory/sysman/usbhost_status -1 -i
-vconftool set -t int memory/sysman/mmc -1 -i
-vconftool set -t int memory/sysman/earjack_key 0 -i
-vconftool set -t int memory/sysman/charger_status -1 -i
-vconftool set -t int memory/sysman/charge_now -1 -i
-vconftool set -t int memory/sysman/battery_status_low -1 -i
-vconftool set -t int memory/sysman/battery_capacity -1 -i
-vconftool set -t int memory/sysman/usb_status -1 -i
-vconftool set -t int memory/sysman/earjack -1 -i
-vconftool set -t int memory/sysman/mmc_mount -1 -i
-vconftool set -t int memory/sysman/mmc_format -1 -i
-vconftool set -t int memory/sysman/mmc_format_progress 0 -i
-vconftool set -t int memory/sysman/power_off 0 -g "$users_gid" -i -f
-vconftool set -t int memory/sysman/battery_level_status -1 -i
-vconftool set -t int memory/sysman/hdmi 0 -i
-vconftool set -t int memory/sysman/stime_changed 0 -i
-
-vconftool set -t int memory/pm/state 0 -i -g "$users_gid"
-vconftool set -t int memory/pm/battery_timetofull -1 -i
-vconftool set -t int memory/pm/battery_timetoempty -1 -i
-vconftool set -t int memory/pm/custom_brightness_status 0 -i -g "$users_gid"
-vconftool set -t bool memory/pm/brt_changed_lpm 0 -i
-vconftool set -t int memory/pm/current_brt 60 -i -g "$users_gid"
-
systemctl daemon-reload
if [ "$1" == "1" ]; then
systemctl restart deviced.service