From 6b9bc3c00feb08fc545a689db3ecd776c99dfb37 Mon Sep 17 00:00:00 2001 From: bergware Date: Wed, 11 Oct 2023 21:19:45 +0200 Subject: [PATCH] Revert "rc.mcelog: don't start when unsupported cpu" This reverts commit 1dd3c101034e3d744d14aba30ed1aae696c33b2c. --- etc/rc.d/rc.mcelog | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/etc/rc.d/rc.mcelog b/etc/rc.d/rc.mcelog index 9c32af611..5d6494307 100755 --- a/etc/rc.d/rc.mcelog +++ b/etc/rc.d/rc.mcelog @@ -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