Change-Id: I004f8cc646b27d3520edc0cd87f719e9291af5df
DefaultDependencies=no
After=opt.mount
Before=basic.target
-ConditionFileExists=/opt/etc/dlog/.platformloggingmode
+ConditionPathExists=/opt/etc/dlog/.platformloggingmode
[Service]
Type=oneshot
-ExecStart=/bin/sh -c '/usr/bin/systemctl set-environment TIZEN_PLATFORMLOGGING_MODE=$(find /opt/etc/dlog/.platformloggingmode -type f 2>&1 | wc -l) TIZEN_DLOG_LEVEL=$(cat /opt/etc/dlog/.dloglevel)'
+ExecStart=/bin/sh -c '/usr/bin/systemctl set-environment TIZEN_PLATFORMLOGGING_MODE=1 TIZEN_DLOG_LEVEL=$(cat /opt/etc/dlog/.dloglevel)'
[Install]
WantedBy=basic.target