6 # If there is a global system configuration file, suck it in.
8 if [ -r /etc/defaults/periodic.conf ]
10 . /etc/defaults/periodic.conf
14 case "$daily_status_zfs_enable" in
17 echo 'Checking status of zfs pools:'
19 case "$daily_status_zfs_zpool_list_enable" in
28 sout=`zpool status -x`
30 # zpool status -x always exits with 0, so we have to interpret its
31 # output to see what's going on.
32 if [ "$sout" = "all pools are healthy" \
33 -o "$sout" = "no pools available" ]; then