Merge "Add new vconfkey for softap channel" into tizen
[platform/core/appfw/vconf-internal-keys.git] / remove_keys.sh
1 #!/bin/bash
2 buxton2ctl -d list-keys memory | sort > /opt/usr/bk_memory.txt
3 buxton2ctl -d list-keys system | sort > /opt/usr/bk_system.txt
4
5 list1=`comm -13 /opt/usr/vk_memory.txt /opt/usr/bk_memory.txt`
6 for file in $list1
7 do
8         buxton2ctl -d -i unset memory $file
9 done
10
11 list2=`comm -13 /opt/usr/vk_system.txt /opt/usr/bk_system.txt`
12 for file in $list2
13 do
14         buxton2ctl -d -i unset system $file
15 done
16
17 buxton2ctl remove-garbage-data system