Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform pre-check for reboot in 202012 branch (sonic-net#1788)
What I did Added platform pre check support in reboot script. Checking platform based changes before stopping dockers and sonic services. Porting changes in 202012 branch. How to verify it Write a platform pre check script(platform_reboot_pre_check) and place it in /usr/share/sonic/device// directory. If the script exit with status 0, reboot will be proceeded. If script exit with non-zero status, the reboot script gets stopped.
- Loading branch information