remove_keys.sh print message and key name 45/149745/1 accepted/tizen/unified/20170914.065413 submit/tizen/20170913.054212
authorSeongho Jeong <sh33.jeong@samsung.com>
Wed, 13 Sep 2017 04:43:14 +0000 (13:43 +0900)
committerSeongho Jeong <sh33.jeong@samsung.com>
Wed, 13 Sep 2017 04:48:52 +0000 (13:48 +0900)
It shows message and key name together for checking which keys had been removed.

Change-Id: I7b3ea0ef34c1369d59cda9eef72906f41d62bfb8
Signed-off-by: Seongho Jeong <sh33.jeong@samsung.com>
remove_keys.sh

index 457d667..874b6ba 100755 (executable)
@@ -21,7 +21,7 @@ list1=`comm -13 /opt/usr/vk_memory.txt /opt/usr/bk_memory.txt`
 for file in $list1
 do
 if [ $CMD == "msg" ]; then
-       echo $MSG
+       echo "$MSG ($file)"
 elif [ $CMD == "del" ]; then
        buxton2ctl -d -i unset memory $file
 fi
@@ -31,7 +31,7 @@ list2=`comm -13 /opt/usr/vk_system.txt /opt/usr/bk_system.txt`
 for file in $list2
 do
 if [ $CMD == "msg" ]; then
-       echo $MSG
+       echo "$MSG ($file)"
 elif [ $CMD == "del" ]; then
        buxton2ctl -d -i unset system $file
 fi