Changeset View
Changeset View
Standalone View
Standalone View
head/usr.sbin/bsdinstall/scripts/auto
Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | "Latitude E7440"|"Latitude E7240") | ||||
f_dprintf "gpt_active_fix_prompt=[%s]" "$retval" | f_dprintf "gpt_active_fix_prompt=[%s]" "$retval" | ||||
if [ $retval -eq $DIALOG_OK ]; then | if [ $retval -eq $DIALOG_OK ]; then | ||||
export ZFSBOOT_PARTITION_SCHEME="GPT + Active" | export ZFSBOOT_PARTITION_SCHEME="GPT + Active" | ||||
export WORKAROUND_GPTACTIVE=1 | export WORKAROUND_GPTACTIVE=1 | ||||
fi | fi | ||||
;; | ;; | ||||
esac | esac | ||||
;; | ;; | ||||
"Hewlett-Packard") | |||||
case "$sys_model" in | |||||
"HP ProBook 4330s") | |||||
dialog_workaround "$msg_gpt_active_fix" | |||||
retval=$? | |||||
f_dprintf "gpt_active_fix_prompt=[%s]" "$retval" | |||||
if [ $retval -eq $DIALOG_OK ]; then | |||||
export ZFSBOOT_PARTITION_SCHEME="GPT + Active" | |||||
export WORKAROUND_GPTACTIVE=1 | |||||
fi | |||||
;; | |||||
esac | esac | ||||
;; | |||||
esac | |||||
# | # | ||||
# Motherboard Models | # Motherboard Models | ||||
# | # | ||||
case "$sys_mb_maker" in | case "$sys_mb_maker" in | ||||
"Intel Corporation") | "Intel Corporation") | ||||
case "$sys_mb_product" in | case "$sys_mb_product" in | ||||
"DP965LT") | "DP965LT"|"D510MO") | ||||
dialog_workaround "$msg_gpt_active_fix" | |||||
retval=$? | |||||
f_dprintf "gpt_active_fix_prompt=[%s]" "$retval" | |||||
if [ $retval -eq $DIALOG_OK ]; then | |||||
export ZFSBOOT_PARTITION_SCHEME="GPT + Active" | |||||
export WORKAROUND_GPTACTIVE=1 | |||||
fi | |||||
;; | |||||
esac | |||||
;; | |||||
"Acer") | |||||
case "$sys_mb_product" in | |||||
"Veriton M6630G") | |||||
dialog_workaround "$msg_gpt_active_fix" | dialog_workaround "$msg_gpt_active_fix" | ||||
retval=$? | retval=$? | ||||
f_dprintf "gpt_active_fix_prompt=[%s]" "$retval" | f_dprintf "gpt_active_fix_prompt=[%s]" "$retval" | ||||
if [ $retval -eq $DIALOG_OK ]; then | if [ $retval -eq $DIALOG_OK ]; then | ||||
export ZFSBOOT_PARTITION_SCHEME="GPT + Active" | export ZFSBOOT_PARTITION_SCHEME="GPT + Active" | ||||
export WORKAROUND_GPTACTIVE=1 | export WORKAROUND_GPTACTIVE=1 | ||||
fi | fi | ||||
;; | ;; | ||||
▲ Show 20 Lines • Show All 169 Lines • Show Last 20 Lines |