sonic-buildimage/device/mellanox/x86_64-mlnx_msn4410-r0
Vadym Hlushko 1d57472eb0
[graceful reboot] Rename the platform_reboot to the pre_reboot_hook, remove the sysfs power cycle (#18324)
**DEPENDS ON: [[graceful reboot] Add the pre_reboot_hook script execution, add the watchdog arm before the reboot](https://github.com/sonic-net/sonic-utilities/pull/3203)**

#### Why I did it
Add support for the `graceful reboot` instead of  the `sysfs power cycle` to avoid filesystem corruption 

### How I did it
Rename the `platform_reboot` script to the `pre_reboot_hook`.
Remove the sysfs power cycle function, from now on the Debian reboot (`/sbin/reboot`) will be executed instead of the sysfs power cycle.

#### How to verify it
1. Start watching logs by using `show log -f` and `journalctl -p debug -f`
2. Execute the `reboot` command from the switch CLI
3. Check in logs that all systemd services terminated
2024-03-23 16:45:36 -07:00
..
ACS-MSN4410 [Mellanox] Update Nvidia sai.profile SKU files to have common file (#18074) 2024-02-28 11:05:20 -08:00
plugins [Mellanox] Use softlink for sfputils on MSN4410 platform (#7092) 2021-03-27 11:56:48 -07:00
default_sku [Mellanox] SN4410 support (#5778) 2020-11-24 10:43:48 -08:00
get_sensors_conf_path [Mellanox] Add new sensor conf to support SN4410 A1 system (#8379) 2021-08-11 17:31:58 -07:00
installer.conf [Mellanox] Disable SSD NCQ on Mellanox platforms (#17567) 2024-01-28 16:26:07 +02:00
pcie.yaml [Mellanox] SN4410 support (#5778) 2020-11-24 10:43:48 -08:00
platform_asic Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
platform_components.json fix MSN4410 chassis name in platform_components.json (#9939) 2022-02-13 15:01:09 +02:00
platform_wait [Mellanox] SN4410 support (#5778) 2020-11-24 10:43:48 -08:00
platform.json [Mellanox] [SN4410] Support new breakout modes for PAM4 (#15668) 2023-08-16 08:30:33 +03:00
pmon_daemon_control.json [Mellanox] SN4410 support (#5778) 2020-11-24 10:43:48 -08:00
pre_reboot_hook [graceful reboot] Rename the platform_reboot to the pre_reboot_hook, remove the sysfs power cycle (#18324) 2024-03-23 16:45:36 -07:00
sensors.conf [Mellanox] SN4410 support (#5778) 2020-11-24 10:43:48 -08:00
sensors.conf.a1 [Mellanox] Add new sensor conf to support SN4410 A1 system (#8379) 2021-08-11 17:31:58 -07:00
system_health_monitoring_config.json [Mellanox] update system_health_monitoring_config for MSN4410/MSN4600/MSN4700 (#9728) 2022-01-19 10:29:26 +02:00
thermal_policy.json [Mellanox] SN4410 support (#5778) 2020-11-24 10:43:48 -08:00