[lldp] Clean up service start logic owing to port init start optimization (#17268)

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
This commit is contained in:
Vivek 2023-11-27 09:56:54 -08:00 committed by GitHub
parent da80593ecb
commit 4727185648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 12 deletions

View File

@ -1 +0,0 @@
per_namespace/lldp.timer.j2

View File

@ -105,17 +105,6 @@ function waitplatform() {
debug "Started pmon service"
fi
fi
if [[ x"$BOOT_TYPE" = @(x"fast"|x"warm"|x"fastfast") ]]; then
debug "LLDP service is delayed by a timer for better fast/warm boot performance"
else
lldp_state=$(systemctl is-enabled lldp.timer)
if [[ $lldp_state == "enabled" ]]
then
debug "Starting lldp service..."
/bin/systemctl start lldp
debug "Started lldp service"
fi
fi
}
function stopplatform1() {