mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-14 12:23:58 +00:00
bsdinstall zfsboot: Don't override ZFSBOOT_FORCE_4K_SECTORS if it is null.
Only set a default value of 1 if the shell variable is unset. This allows
installer scripts to disable the variable.
PR: 274513
Reported by: Albin "a12l" Otterhäll <bugs.freebsd.org@a12l.xyz>
Differential Revision: https://reviews.freebsd.org/D42319
(cherry picked from commit de82aed119
)
This commit is contained in:
parent
e0f29ad461
commit
a463db46a1
|
@ -66,7 +66,7 @@ f_include $BSDCFG_SHARE/variable.subr
|
|||
#
|
||||
# Should we use sysctl(8) vfs.zfs.min_auto_ashift=12 to force 4K sectors?
|
||||
#
|
||||
: ${ZFSBOOT_FORCE_4K_SECTORS:=1}
|
||||
: ${ZFSBOOT_FORCE_4K_SECTORS=1}
|
||||
|
||||
#
|
||||
# Should we use geli(8) to encrypt the drives?
|
||||
|
|
Loading…
Reference in a new issue