Add Native platform information log on/off option 2.2_release submit/tizen_2.2/20130714.140005 submit/tizen_2.2/20130714.144645
authorSeokhyun Kim <swank.kim@samsung.com>
Mon, 24 Jun 2013 05:11:19 +0000 (14:11 +0900)
committerSeokhyun Kim <swank.kim@samsung.com>
Mon, 24 Jun 2013 05:11:19 +0000 (14:11 +0900)
Change-Id: I3ed11f2e7df784e6f8534f6cee22ac07f55ad602

dlogctrl

index 3eea301..13c5b15 100755 (executable)
--- a/dlogctrl
+++ b/dlogctrl
@@ -42,8 +42,10 @@ fi
 if [ "$MODE" = "set" ]; then
        if [ "$OBJ" = "platformlog" ] && [ "$VAL" = "1" ] ; then
                echo 1 > /opt/etc/platformlog.conf 2>/dev/null
+               touch /home/developer/.platforminfologgingmode 2>/dev/null
        elif [ "$OBJ" = "platformlog" ] && [ "$VAL" = "0" ] ; then
                echo 0 > /opt/etc/platformlog.conf 2>/dev/null
+               rm /home/developer/.platforminfologgingmode 2>/dev/null
        fi
     echo "You must reboot this target to apply the change!"
 else