poweroff
COMMAND_SET(poweroff, "poweroff", "power off the system", command_poweroff);
lows.warning = lows.shutdown = lows.poweroff =
highs.warning = highs.shutdown = highs.poweroff =
if (lows.poweroff != ENVMON_VAL_UNAVAILABLE) {
fru_type, lows.poweroff);
if (highs.poweroff != ENVMON_VAL_UNAVAILABLE) {
fru_type, highs.poweroff);
(poweroff(NULL, power_button_cmd) != 0)) {
static int poweroff(const char *, char **);
(void) poweroff("AutoS3", autoS3_cmd);
(void) poweroff("Autoshutdown",
sensor->lowthresholds.poweroff = ENVMON_VAL_UNAVAILABLE;
sensor->highthresholds.poweroff = ENVMON_VAL_UNAVAILABLE;
fan->lowthresholds.poweroff = ENVMON_VAL_UNAVAILABLE;
env_sensor.lowthresholds.poweroff =
env_sensor.highthresholds.poweroff =
env_sensor.lowthresholds.poweroff =
env_sensor.highthresholds.poweroff =
env_fan.lowthresholds.poweroff =
int16_t poweroff;