MODE=none
OBJ=none
VAL=none
-#echo "tizen_platform_logging_ctrl"
+#echo "tizen_platform_dlog_logging_ctrl"
case "$1" in
get)
MODE=get
;;
*)
-echo "Usage: tplctrl {get|set} {platformlog} {1|0}"
+echo "Usage: dlogctrl {get|set} {platformlog} {1|0}"
exit 1
esac
OBJ=platformlog
;;
*)
- echo "Usage: tplctrl {get|set} {platformlog} {1|0}"
+ echo "Usage: dlogctrl {get|set} {platformlog} {1|0}"
exit 1
esac
VAL=0
;;
*)
- echo "Usage: tplctrl {get|set} {platformlog} {1|0}"
+ echo "Usage: dlogctrl {get|set} {platformlog} {1|0}"
exit 1
esac
fi
elif [ "$OBJ" = "platformlog" ] && [ "$VAL" = "0" ] ; then
rm -f /opt/etc/dlog/.platformloggingmode 2>/dev/null
fi
+ echo "You must reboot this target to apply the change!"
else
if [ "$OBJ" = "platformlog" ]; then
if [ -e "/opt/etc/dlog/.platformloggingmode" ]; then
echo 0
fi
fi
-
fi
exit 0