Deleted Added
full compact
800.scrub-zfs (223117) 800.scrub-zfs (226865)
1#!/bin/sh
2#
1#!/bin/sh
2#
3# $FreeBSD: head/etc/periodic/daily/800.scrub-zfs 223117 2011-06-15 19:33:02Z jpaetzel $
3# $FreeBSD: head/etc/periodic/daily/800.scrub-zfs 226865 2011-10-27 21:25:41Z delphij $
4#
5
6# If there is a global system configuration file, suck it in.
7#
8
9newline="
10" # A single newline
11
12if [ -r /etc/defaults/periodic.conf ]
13then
14 . /etc/defaults/periodic.conf
15 source_periodic_confs
16fi
17
4#
5
6# If there is a global system configuration file, suck it in.
7#
8
9newline="
10" # A single newline
11
12if [ -r /etc/defaults/periodic.conf ]
13then
14 . /etc/defaults/periodic.conf
15 source_periodic_confs
16fi
17
18: ${daily_scrub_zfs_default_threshold=30}
18: ${daily_scrub_zfs_default_threshold=35}
19
20case "$daily_scrub_zfs_enable" in
21 [Yy][Ee][Ss])
22 echo
23 echo 'Scrubbing of zfs pools:'
24
25 if [ -z "${daily_scrub_zfs_pools}" ]; then
26 daily_scrub_zfs_pools="$(zpool list -H -o name)"

--- 72 unchanged lines hidden ---
19
20case "$daily_scrub_zfs_enable" in
21 [Yy][Ee][Ss])
22 echo
23 echo 'Scrubbing of zfs pools:'
24
25 if [ -z "${daily_scrub_zfs_pools}" ]; then
26 daily_scrub_zfs_pools="$(zpool list -H -o name)"

--- 72 unchanged lines hidden ---