From 8e82e2a8fdbf7b79bc2561092d78121c4962c983 Mon Sep 17 00:00:00 2001 From: Seokhyun Kim Date: Mon, 24 Jun 2013 14:11:19 +0900 Subject: [PATCH] Add Native platform information log on/off option Change-Id: I3ed11f2e7df784e6f8534f6cee22ac07f55ad602 --- dlogctrl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlogctrl b/dlogctrl index 3eea301..13c5b15 100755 --- 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 -- 2.7.4