From: Sung-Jin Park Date: Mon, 6 Dec 2021 08:54:25 +0000 (+0900) Subject: units: fix to check speaker correctly X-Git-Tag: accepted/tizen/unified/20211207.133118^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=685b6e8a075807409d491b77622288ede01a6f06;p=platform%2Fcore%2Fuifw%2Fheadless-server.git units: fix to check speaker correctly Change-Id: I739344684d568de8980f37b0e7ed821a2cc660fc Signed-off-by: Sung-Jin Park --- diff --git a/data/units/headless_server_start.sh b/data/units/headless_server_start.sh index 6ea7157..7f43ff5 100644 --- a/data/units/headless_server_start.sh +++ b/data/units/headless_server_start.sh @@ -2,8 +2,8 @@ if [ -e ${RUN_WITH_SPEAKER} ] then - _tizen_project_target=`grep TZ_BUILD_PROJECT /etc/tizen-build.conf | awk -F '[=]' '{ print $2 }' | awk -F '[-]' '{ print $NF }'` - if [ ${_tizen_project_target} = "Speaker" ] + _tizen_project_target=`vconftool get 'db/setting/device_name' | awk '{ print $4}'` + if [ ${_tizen_project_target} = "Tizen_Speaker" ] then export RUN_WITH_SPEAKER=1 fi