<email/>
<comment><![CDATA[ ]]></comment>
</vconfkey>
+ <!-- DUPLICATED
<vconfkey type="bool" name="db/private/email-service/noti_vip_vibration_status" readPriv="http://tizen.org/privilege/internal/default/platform" writePriv="http://tizen.org/privilege/internal/default/platform">
<header>VCONFKEY_UNCATEGORIZED_45</header>
<val>0</val>
<email/>
<comment><![CDATA[ ]]></comment>
</vconfkey>
+ -->
<vconfkey type="int32" name="db/private/email-service/slot_size" readPriv="http://tizen.org/privilege/internal/default/platform" writePriv="http://tizen.org/privilege/internal/default/platform">
<header>VCONFKEY_UNCATEGORIZED_46</header>
<val>100</val>
%posttrans config-profile_mobile
TMP_AFTER=/opt/.runtime_vconf_internal_keys
echo "running -------------------- DISABLE remove_keys.sh"
-#. /opt/usr/remove_keys.sh
+. /opt/usr/remove_keys.sh msg # just print out messages
+#. /opt/usr/remove_keys.sh del # remove the actual keys
touch $TMP_AFTER
%posttrans config-profile_common
TMP_AFTER=/opt/.runtime_vconf_internal_keys
echo "running -------------------- DISABLE remove_keys.sh"
-#. /opt/usr/remove_keys.sh
+. /opt/usr/remove_keys.sh msg # just print out messages
+#. /opt/usr/remove_keys.sh del # remove the actual keys
touch $TMP_AFTER
%posttrans config-profile_tv
TMP_AFTER=/opt/.runtime_vconf_internal_keys
echo "running -------------------- DISABLE remove_keys.sh"
-#. /opt/usr/remove_keys.sh
+. /opt/usr/remove_keys.sh msg # just print out messages
+#. /opt/usr/remove_keys.sh del # remove the actual keys
touch $TMP_AFTER
%posttrans config-profile_wearable
TMP_AFTER=/opt/.runtime_vconf_internal_keys
echo "running -------------------- DISABLE remove_keys.sh"
-#. /opt/usr/remove_keys.sh
+. /opt/usr/remove_keys.sh msg # just print out messages
+#. /opt/usr/remove_keys.sh del # remove the actual keys
touch $TMP_AFTER
%posttrans config-profile_ivi
TMP_AFTER=/opt/.runtime_vconf_internal_keys
echo "running -------------------- DISABLE remove_keys.sh"
-#. /opt/usr/remove_keys.sh
+. /opt/usr/remove_keys.sh msg # just print out messages
+#. /opt/usr/remove_keys.sh del # remove the actual keys
touch $TMP_AFTER
%files
#!/bin/bash
+
+CMD=$1
+
+if [ -z $CMD ]; then
+ echo "argument error : 1st arg is cmd (msg/del) "
+ echo "usage-1) ./remove-keys.sh msg"
+ echo "usage-2) ./remove-keys.sh del"
+ echo "usage-3) ./remove-keys.sh --> Error case"
+ exit 1
+fi
+
buxton2ctl -d list-keys memory | sort > /opt/usr/bk_memory.txt
buxton2ctl -d list-keys system | sort > /opt/usr/bk_system.txt
+MSG="[WARNING] CALLING VCONFTOOL OUTSIDE OF VCONF-INTERNAL-KEYS IS NOT ALLOWED."
list1=`comm -13 /opt/usr/vk_memory.txt /opt/usr/bk_memory.txt`
+
+
+
for file in $list1
do
+if [ $CMD == "msg" ]; then
+ echo $MSG
+elif [ $CMD == "del" ]; then
buxton2ctl -d -i unset memory $file
+fi
done
list2=`comm -13 /opt/usr/vk_system.txt /opt/usr/bk_system.txt`
for file in $list2
do
+if [ $CMD == "msg" ]; then
+ echo $MSG
+elif [ $CMD == "del" ]; then
buxton2ctl -d -i unset system $file
+fi
done
buxton2ctl remove-garbage-data system