PATH=/usr/sbin:/sbin:$PATH
 
+pools="tank storage"
 maxsleeptime=360
 logfile=/var/log/zfs/zfs-scrub.log
 
-for i in tank storage
+for i in $pools
 do
   # Check to see if this zfs filesystem has a scrub being performed on it now.
   # If it does, we cannot perform more than one scrub operation at a time.
 
 
 PATH=/usr/sbin:/sbin:/etc/bin:$PATH
 
+pools="backups"
 maxsleeptime=360
 mailto=root
 logfile=/var/log/zfs/zfs-scrub.log
 
-for i in backups
+for i in $pools
 do
   # Check to see if any zfs filesystem has a scrub being performed on it now.
   # If it does, we cannot perform more than one scrub operation at a time.