mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04: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
b636e35bb7
commit
904ebc903c
1 changed files with 1 additions and 1 deletions
|
|
@ -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