forked from Lainports/freebsd-ports
This is required to ensure that if gpg tool is installed database is validated. Also added hint to pkg-install message about security/gnupg port. PR: 276180
29 lines
927 B
Text
29 lines
927 B
Text
[
|
|
{ type: install
|
|
message: <<EOM
|
|
smartmontools has been installed
|
|
|
|
To check the status of drives, use the following:
|
|
|
|
%%PREFIX%%/sbin/smartctl -a /dev/ad0 for first ATA/SATA drive
|
|
%%PREFIX%%/sbin/smartctl -a /dev/da0 for first SCSI drive
|
|
%%PREFIX%%/sbin/smartctl -a /dev/ada0 for first SATA drive
|
|
|
|
To include drive health information in your daily status reports,
|
|
add a line like the following to /etc/periodic.conf:
|
|
daily_status_smart_devices="/dev/ad0 /dev/da0"
|
|
substituting the appropriate device names for your SMART-capable disks.
|
|
|
|
To enable drive monitoring, you can use %%PREFIX%%/sbin/smartd.
|
|
A sample configuration file has been installed as
|
|
%%PREFIX%%/etc/smartd.conf.sample
|
|
Copy this file to %%PREFIX%%/etc/smartd.conf and edit appropriately
|
|
|
|
To have smartd start at boot
|
|
echo 'smartd_enable="YES"' >> /etc/rc.conf
|
|
|
|
To enable verification of the drivedb updates, install the "security/gnupg"
|
|
package.
|
|
EOM
|
|
}
|
|
]
|