1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

Eliminate extraneous pipelines and tr calls.

Approved by:	kib (mentor)
MFC after:	3 days
This commit is contained in:
Josh Paetzel 2011-06-15 19:33:02 +00:00
parent 8e124d2153
commit 00a3d0dae2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223117

View File

@ -46,7 +46,7 @@ case "$daily_scrub_zfs_enable" in
esac esac
# determine how many days shall be between scrubs # determine how many days shall be between scrubs
eval _pool_threshold=\${daily_scrub_zfs_$(echo "${pool}"|tr -s "-" "_"|tr -s "." "_"|tr -s ":" "_")_threshold} eval _pool_threshold=\${daily_scrub_zfs_$(echo "${pool}"|tr ".:-" "_")_threshold}
if [ -z "${_pool_threshold}" ];then if [ -z "${_pool_threshold}" ];then
_pool_threshold=${daily_scrub_zfs_default_threshold} _pool_threshold=${daily_scrub_zfs_default_threshold}
fi fi