If smartctl(8) isn't installed, then presumably we don't need to check
the status of disks; and if there's no ntpd(8) it's pointless checking
synchronization.
### Check the health of attached physical disks.
set -e
### Check the health of attached physical disks.
set -e
+if [ ! -x /usr/sbin/smartctl ]; then exit 0; fi
## Build a list of actual disk devices according to their buses.
disks=
## Build a list of actual disk devices according to their buses.
disks=
+if [ ! -x /usr/sbin/ntpc ]; then exit 0; fi
+
ntpdc -c peers | {
any=nil
while read remote local st poll reach delay offset disp; do
ntpdc -c peers | {
any=nil
while read remote local st poll reach delay offset disp; do