Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[reboot scripts] remove -t option in docker exec commands #228

Merged
merged 1 commit into from
Mar 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/fast-reboot
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ mkdir -p /host/fast-reboot
/usr/bin/fast-reboot-dump.py -t /host/fast-reboot

# Kill bgpd to start the bgp graceful restart procedure
docker exec -ti bgp killall -9 zebra
docker exec -ti bgp killall -9 bgpd
docker exec -i bgp killall -9 zebra
docker exec -i bgp killall -9 bgpd

# Kill lldp, otherwise it sends informotion about reboot
docker kill lldp > /dev/null
Expand All @@ -54,7 +54,7 @@ docker kill teamd > /dev/null
if [[ "$sonic_asic_type" = 'broadcom' ]];
then
# Gracefully stop syncd
docker exec -ti syncd /usr/bin/syncd_request_shutdown --cold > /dev/null
docker exec -i syncd /usr/bin/syncd_request_shutdown --cold > /dev/null

# Check that syncd was stopped
while docker top syncd | grep -q /usr/bin/syncd
Expand Down
2 changes: 1 addition & 1 deletion scripts/reboot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function stop_sonic_services()
{
echo "Stopping syncd..."
docker exec -it syncd /usr/bin/syncd_request_shutdown --cold > /dev/null
docker exec -i syncd /usr/bin/syncd_request_shutdown --cold > /dev/null
sleep 3
}

Expand Down