Lines Matching +full:activate +full:- +full:to +full:- +full:activate
2 #-
17 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
53 --title "$DIALOG_TITLE" \
54 --backtitle "$DIALOG_BACKTITLE" \
55 --hline "$hline" \
56 --ok-label "Ok" \
57 --no-cancel \
58 --inputbox "$prompt" \
65 nentries=$(efibootmgr | grep -c "${EFI_LABEL_NAME}$")
67 if [ ${nentries} -eq 0 ]; then
69 efibootmgr --create --activate --label "$EFI_LABEL_NAME" --loader "${mntpt}/${FREEBSD_BOOTNAME}" > /dev/null
73 $DIALOG --backtitle "$OSNAME Installer" --title 'Boot Configuration' \
74 --yesno "There are multiple \"$OSNAME\" EFI boot entries. Would you like to remove them all and add a new one?" 0 0
75 if [ $? -eq $DIALOG_OK ]; then
77 efibootmgr -B -b ${entry}
79 efibootmgr --create --activate --label "$EFI_LABEL_NAME" --loader "${mntpt}/${FREEBSD_BOOTNAME}" > /dev/null
84 [ $? -eq $DIALOG_CANCEL ] && exit 1
85 efibootmgr --create --activate --label "$FREEBSD_BOOTLABEL" --loader "${mntpt}/${FREEBSD_BOOTNAME}" > /dev/null
91 if [ `uname -m` == powerpc ]; then
92 platform=`sysctl -n hw.platform`
93 if [ "$platform" == ps3 -o "$platform" == powernv ]; then
96 mkdir -p $BSDINSTALL_CHROOT/boot/etc/
103 if [ -n "$(awk '{if ($2=="/boot/efi") printf("%s\n",$1);}' $PATH_FSTAB)" ]; then
104 case $(uname -m) in
110 *) die "Unsupported arch $(uname -m) for UEFI install"
113 if [ `sysctl -n machdep.efi_arch` == i386 ]; then
127 mkdir -p "${mntpt}/${FREEBSD_BOOTDIR}" "${mntpt}/${BOOTDIR}"
131 # UEFI defines a way to specifically select what to boot
133 # UEFI environment, we wouldn't have access to efirt. In addition,
136 # interfere with the setting of these variables. To combat that, we
141 if [ ! -f "${mntpt}/${BOOTNAME}" ]; then