6 echo "argument error : 1st arg is cmd (msg/del) "
7 echo "usage-1) ./remove-keys.sh msg"
8 echo "usage-2) ./remove-keys.sh del"
9 echo "usage-3) ./remove-keys.sh --> Error case"
13 buxton2ctl -d list-keys memory | sort > /opt/usr/bk_memory.txt
14 buxton2ctl -d list-keys system | sort > /opt/usr/bk_system.txt
16 MSG="[WARNING] CALLING VCONFTOOL OUTSIDE OF VCONF-INTERNAL-KEYS IS NOT ALLOWED."
17 list1=`comm -13 /opt/usr/vk_memory.txt /opt/usr/bk_memory.txt`
23 if [ $CMD == "msg" ]; then
25 elif [ $CMD == "del" ]; then
26 buxton2ctl -d -i unset memory $file
30 list2=`comm -13 /opt/usr/vk_system.txt /opt/usr/bk_system.txt`
33 if [ $CMD == "msg" ]; then
35 elif [ $CMD == "del" ]; then
36 buxton2ctl -d -i unset system $file
40 buxton2ctl remove-garbage-data system