exit configure if lmsensors output is not valid

This commit is contained in:
Meliox 2026-06-09 23:28:04 +02:00
parent 85605dffdc
commit 7c2557332b

View File

@ -133,6 +133,8 @@ configure_node_info() {
warn "lm-sensors is installed but reported no sensors." warn "lm-sensors is installed but reported no sensors."
warn "No kernel sensor drivers appear to be loaded." warn "No kernel sensor drivers appear to be loaded."
warn "Run 'sensors-detect' and load the suggested modules, then re-run this configurator." warn "Run 'sensors-detect' and load the suggested modules, then re-run this configurator."
warn "lm-sensors output is the foundation for this mod. Mod cannot be enabled without it."
exit 0
lm_sensors_ok=false lm_sensors_ok=false
LM_SENSORS_ENABLED=0 LM_SENSORS_ENABLED=0
fi fi