Skip to content

Commit

Permalink
[lldp] Clean up service start logic owing to port init start optimiza…
Browse files Browse the repository at this point in the history
…tion

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
  • Loading branch information
vivekrnv committed Nov 10, 2023
1 parent 4cb2a84 commit 4a3b6d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion files/build_templates/lldp.timer.j2

This file was deleted.

11 changes: 0 additions & 11 deletions files/scripts/syncd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4a3b6d1

Please sign in to comment.