From 7d1048d281637c24966f2b85ae83bb547a073f39 Mon Sep 17 00:00:00 2001 From: Jacek Tomasiak Date: Thu, 14 Jan 2021 19:43:18 +0100 Subject: [PATCH] os-smart: Re-add descriptions for cron actions (#2117) The "description" fields were removed to not flood the UI with duplicate items but some of them are actually useful for cron. Descriptions for actions related to tests were re-added with unique content to enable periodic SMART tests via cron. --- .../src/opnsense/service/conf/actions.d/actions_smart.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sysutils/smart/src/opnsense/service/conf/actions.d/actions_smart.conf b/sysutils/smart/src/opnsense/service/conf/actions.d/actions_smart.conf index fb05a5e05..104c227e4 100644 --- a/sysutils/smart/src/opnsense/service/conf/actions.d/actions_smart.conf +++ b/sysutils/smart/src/opnsense/service/conf/actions.d/actions_smart.conf @@ -57,27 +57,32 @@ command:/usr/local/sbin/smartctl -t offline parameters:%s; exit 0 type:script_output message:Testing device %s (offline) +description:Run SMART test (offline) [test.short] command:/usr/local/sbin/smartctl -t short parameters:%s; exit 0 type:script_output message:Testing device %s (short) +description:Run SMART test (short) [test.long] command:/usr/local/sbin/smartctl -t long parameters:%s; exit 0 type:script_output message:Testing device %s (long) +description:Run SMART test (long) [test.conveyance] command:/usr/local/sbin/smartctl -t conveyance parameters:%s; exit 0 type:script_output message:Testing device %s (conveyance) +description:Run SMART test (conveyance) [abort] command:/usr/local/sbin/smartctl -X parameters:%s; exit 0 type:script_output message:Abort test on device %s +description:Abort SMART tests