mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 09:39:58 -06:00
Revert "rc.mcelog: don't start when unsupported cpu"
This reverts commit 1dd3c10103.
This commit is contained in:
@@ -73,12 +73,8 @@ mcelog_stop(){
|
||||
if ! mcelog_running; then
|
||||
REPLY="Already stopped"
|
||||
else
|
||||
if $MCELOG --is-cpu-supported &>/dev/null; then
|
||||
killall -TERM $MCELOG
|
||||
if ! mcelog_running; then REPLY="Stopped"; else REPLY="Failed"; fi
|
||||
else
|
||||
REPLY="Skipped"
|
||||
fi
|
||||
killall -TERM $MCELOG
|
||||
if ! mcelog_running; then REPLY="Stopped"; else REPLY="Failed"; fi
|
||||
fi
|
||||
elif [[ $MCELOG_MODE == trigger && -f $TRIGGER ]]; then
|
||||
echo > $TRIGGER
|
||||
|
||||
Reference in New Issue
Block a user