So $(foo) is a shorter version of "foo".
Sponsored by: Netflix
Should we still keep the double quotes? (To to prevent globbing and word splitting as shellsheck would say, although unlikely).
Are they needed here? Word expansion doesn't happen here after the substitution, so _bootonce will have whatever is the value of zfs-bootonce, even if there's spaces.
Are they needed here?
Unlikely.