This commit is contained in:
pyllyukko 2026-02-11 18:44:50 -08:00 committed by GitHub
commit 8faddfdec4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,8 +136,12 @@
LogText "Result: sysstat disabled via systemd"
Display --indent 2 --text "- Checking sysstat accounting data" --result "${STATUS_DISABLED}" --color WHITE
fi
# Slackware
elif [ -f "${ROOTDIR}etc/rc.d/rc.sysstat" -a -x "${ROOTDIR}etc/rc.d/rc.sysstat" ]; then
LogText "Result: sysstat enabled via /etc/rc.d/rc.sysstat"
Display --indent 2 --text "- Checking sysstat accounting data" --result "${STATUS_ENABLED}" --color GREEN
else
LogText "Result: sysstat not found via ${ROOTDIR}etc/default/sysstat or ${ROOTDIR}etc/cron.d/sysstat or as a systemd unit"
LogText "Result: sysstat not found via ${ROOTDIR}etc/default/sysstat or ${ROOTDIR}etc/cron.d/sysstat or ${ROOTDIR}etc/rc.d/rc.sysstat or as a systemd unit"
Display --indent 2 --text "- Checking sysstat accounting data" --result "${STATUS_NOT_FOUND}" --color YELLOW
ReportSuggestion "${TEST_NO}" "Enable sysstat to collect accounting (no results)"
fi