mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +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
This commit is contained in:
parent
3eed4803f9
commit
de82aed119
|
@ -71,7 +71,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