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:
parent
4a1e7d8581
commit
5ea244cac8
@ -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 $@
|
@ -1 +0,0 @@
|
||||
../x86_64-mlnx_msn2700_simx-r0/platform_reboot
|
@ -1 +0,0 @@
|
||||
../x86_64-mlnx_msn2700_simx-r0/platform_reboot
|
@ -1 +0,0 @@
|
||||
../x86_64-mlnx_msn2700_simx-r0/platform_reboot
|
@ -1 +0,0 @@
|
||||
../x86_64-mlnx_msn2700_simx-r0/platform_reboot
|
Loading…
Reference in New Issue
Block a user