mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 00:42:34 -04:00
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.
This commit is contained in:
parent
d07948cbb1
commit
7d1048d281
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue