Removed platform specific reboot files for mellanox simx platforms (#10806)

- Why I did it
Platform_reboot files for simx doesn't do aything different apart from calling /sbin/reboot. which is anyway done in the /usr/local/bin/reboot script i.e. the parent script which calls the platform specific reboot scripts if present.

Moreover, /sbin/reboot invoked in the platform specific reboot script is a non-blocking call and thus it returns back to the original script (although /sbin/reboot does it job in the background) and we see messages like this.

Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
This commit is contained in:
Vivek R 2022-05-14 05:20:57 -07:00 committed by GitHub
parent 4a1e7d8581
commit 5ea244cac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 25 deletions

View File

@ -1,21 +0,0 @@
#!/bin/bash
declare -r EXIT_SUCCESS="0"
declare -r EXIT_ERROR="1"
FORCE_REBOOT="no"
function ParseArguments() {
while [ $# -ge 1 ]; do
case "$1" in
-f|--force)
FORCE_REBOOT="yes"
;;
esac
shift
done
}
ParseArguments "$@"
exec /sbin/reboot $@

View File

@ -1 +0,0 @@
../x86_64-mlnx_msn2700_simx-r0/platform_reboot

View File

@ -1 +0,0 @@
../x86_64-mlnx_msn2700_simx-r0/platform_reboot

View File

@ -1 +0,0 @@
../x86_64-mlnx_msn2700_simx-r0/platform_reboot

View File

@ -1 +0,0 @@
../x86_64-mlnx_msn2700_simx-r0/platform_reboot