[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:
parent
da80593ecb
commit
4727185648
@ -1 +0,0 @@
|
|||||||
per_namespace/lldp.timer.j2
|
|
@ -105,17 +105,6 @@ function waitplatform() {
|
|||||||
debug "Started pmon service"
|
debug "Started pmon service"
|
||||||
fi
|
fi
|
||||||
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() {
|
function stopplatform1() {
|
||||||
|
Loading…
Reference in New Issue
Block a user