5 #echo "tizen_platform_dlog_logging_ctrl"
15 echo "Usage: dlogctrl {get|set} {platformlog} {1|0}"
24 echo "Usage: dlogctrl {get|set} {platformlog} {1|0}"
28 if [ "$MODE" = "set" ]; then
37 echo "Usage: dlogctrl {get|set} {platformlog} {1|0}"
42 if [ "$MODE" = "set" ]; then
43 if [ "$OBJ" = "platformlog" ] && [ "$VAL" = "1" ] ; then
44 touch /opt/etc/dlog/.platformloggingmode 2>/dev/null
45 elif [ "$OBJ" = "platformlog" ] && [ "$VAL" = "0" ] ; then
46 rm -f /opt/etc/dlog/.platformloggingmode 2>/dev/null
49 if [ "$OBJ" = "platformlog" ]; then
50 if [ -e "/opt/etc/dlog/.platformloggingmode" ]; then
56 echo "You must reboot this target to apply the change!"