diff --git a/scripts/reboot b/scripts/reboot index d349664fb6..382c03d3f6 100755 --- a/scripts/reboot +++ b/scripts/reboot @@ -2,12 +2,9 @@ function stop_sonic_services() { - echo "Stopping sonic services..." - systemctl stop swss - systemctl stop teamd - systemctl stop bgp - systemctl stop lldp - systemctl stop snmp + echo "Stopping syncd..." + docker exec -it syncd /usr/bin/syncd_request_shutdown --cold > /dev/null + sleep 3 } # Obtain our platform as we will mount directories with these names in each docker