From cf605260d441ac44bf47b38e43783c0db01a0b65 Mon Sep 17 00:00:00 2001 From: Sai Satish Date: Tue, 20 Jan 2026 08:00:39 +0000 Subject: [PATCH] RDKBDEV-3346: Remove UTOPIA ssh services from the build Reason for change: providing flag that decides to run ssh service. Risks: None Signed-off-by: sai satish kotapati --- source/scripts/init/service.d/service_sshd.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/scripts/init/service.d/service_sshd.sh b/source/scripts/init/service.d/service_sshd.sh index a2ba75cc..3c8cce39 100755 --- a/source/scripts/init/service.d/service_sshd.sh +++ b/source/scripts/init/service.d/service_sshd.sh @@ -44,6 +44,11 @@ source /etc/utopia/service.d/log_capture_path.sh source /etc/device.properties source /etc/waninfo.sh +if [ "$sshEnabled" = "false" ]; then + echo_t "[utopia] exiting from ${SERVICE_NAME} since rdkb ssh is disabled" + exit +fi + WAN_INTERFACE=$(getWanInterfaceName) DEFAULT_WAN_INTERFACE="erouter0" LANIPV6Support=`sysevent get LANIPv6GUASupport`