e5a64463fd
Why I did it Added a check in determining CPU reset in fast-/warm-reboot in their respective platform plugin. Introducing reboot plugin for "reboot" command to handle its own platform plugin. How I did it On branch s6100_fast_warm_check Changes to be committed: (use "git reset HEAD ..." to unstage) modified: ../../debian/platform-modules-s6100.install modified: ../scripts/fast-reboot_plugin modified: ../scripts/platform_reboot_override new file: ../scripts/reboot_plugin modified: ../scripts/track_reboot_reason.sh modified: chassis.py How to verify it Triggered cold-reset inside fast-reboot to test out the reboot-cause 2.0 API.
9 lines
212 B
Bash
Executable File
9 lines
212 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ -d /sys/devices/platform/SMF.512/hwmon/ ]]; then
|
|
cd /sys/devices/platform/SMF.512/hwmon/*
|
|
echo 0xcc > mb_poweron_reason
|
|
fi
|
|
|
|
/usr/local/bin/s6100_i2c_enumeration.sh deinit & > /dev/null
|