Lines Matching +full:touch +full:- +full:enter
2 #-
4 # Copyright (c) 2013-2018 Devin Teske
47 hline_arrows_tab_enter="Press arrows, TAB or ENTER"
48 hline_arrows_tab_space_enter="Press arrows, TAB, SPACE or ENTER"
55 msg_auto_zfs_desc="Guided Root-on-ZFS"
68 msg_shell_help="Create customized partitions using command-line utilities"
86 [ -f "$PATH_FSTAB" ] && bsdinstall umount
93 --title "$title" \
94 --backtitle "$btitle" \
95 --hline "$hline" \
96 --no-label "$msg_exit" \
97 --yes-label "$msg_restart" \
98 --yesno "$prompt" $height $width
121 local max_width=$(( $width - 3 - $plen ))
125 yes=ok no=cancel defaultno=default-no
126 extra_args="--wrap --left"
130 extra_args="--cr-wrap"
140 --title "$title" \
141 --backtitle "$btitle" \
142 --hline "$hline" \
143 --$yes-label "$msg_yes" \
144 --$no-label "$msg_no" \
146 --yesno "$prompt" $height $width
156 …eval "if [ -n \"\${ORIG_$var}\" -o -z \"\${ORIG_$var-z}\" ]; then $var=\${ORIG_$var}; else unset $…
162 # Save any user-defined environment variable that may be modified during the
168 …eval "if [ -n \"\${$var}\" -o -z \"\${$var-z}\" ]; then ORIG_$var=\${$var}; else unset ORIG_$var; …
178 rm -rf $BSDINSTALL_TMPETC
181 # With pkgbase, pkg OOM has been observed with QEMU-default 128 MiB memory size.
183 physmem=$(($(sysctl -n hw.physmem) / 1048576))
184 if [ $physmem -lt 200 ]; then
185 bsddialog --backtitle "$OSNAME Installer" --title "Warning" \
186 …--msgbox "Insufficient physical memory (${physmem} MiB) detected. At least 256 MiB is recommended.…
189 [ -f /usr/libexec/bsdinstall/local.pre-everything ] && f_dprintf "Running local.pre-everything" && …
192 [ -z "$BSDINSTALL_SKIP_KEYMAP" ] && bsdinstall keymap
194 trap error SIGINT # Catch cntrl-C here
195 if [ -z "$BSDINSTALL_SKIP_HOSTNAME" ]; then bsdinstall hostname || error "Set hostname failed"; fi
197 if [ -f /usr/freebsd-packages/repos/FreeBSD-base-offline.conf ]; then
199 PKGBASE_DEFAULT_BUTTON=--default-no
205 if [ ! -f $BSDINSTALL_DISTDIR/MANIFEST ]; then
208 bsddialog --backtitle "$OSNAME Installer" --title "Select Installation Type" \
209 --yes-label "Traditional" --no-label "Packages (Experimental)" --yesno \
212 if [ $? -eq 1 ]; then
219 bsddialog --backtitle "$OSNAME Installer" --title "Network or Offline Installation" \
220 --yes-label "Network" --no-label "Offline (Limited Packages)" --yesno \
222 if [ $? -eq 1 ]; then
223 export BSDINSTALL_PKG_REPOS_DIR=/usr/freebsd-packages/repos/
229 bsddialog --backtitle "$OSNAME Installer" --title "Network Installation" \
230 …--msgbox "No base system packages are included in this installation media. The next few screens wi…
235 export DISTRIBUTIONS="${DISTRIBUTIONS:-base.txz kernel.txz}"
236 if [ -f $BSDINSTALL_DISTDIR/MANIFEST ]; then
237 DISTMENU=`awk -F'\t' '!/^(kernel\.txz|base\.txz)/{print $1,$5,$6}' $BSDINSTALL_DISTDIR/MANIFEST`
238 DISTMENU="$(echo ${DISTMENU} | sed -E 's/\.txz//g')"
240 if [ -n "$DISTMENU" ]; then
243 --backtitle \"$OSNAME Installer\" \
244 --title \"Distribution Select\" --nocancel --separate-output \
245 --checklist \"Choose optional system components to install:\" \
256 if [ ! -f $BSDINSTALL_DISTDIR/$dist ]; then
261 if [ -n "$FETCH_DISTRIBUTIONS" -a -n "$BSDINSTALL_CONFIGCURRENT" ]; then
262 …bsddialog --backtitle "$OSNAME Installer" --title "Network Installation" --msgbox "Some installati…
268 rm -f $PATH_FSTAB
269 touch $PATH_FSTAB
271 [ -f /usr/libexec/bsdinstall/local.pre-partition ] && f_dprintf "Running local.pre-partition" && sh…
278 sys_maker=$( kenv -q smbios.system.maker )
280 sys_model=$( kenv -q smbios.system.product )
282 sys_version=$( kenv -q smbios.system.version )
284 sys_mb_maker=$( kenv -q smbios.planar.maker )
286 sys_mb_product=$( kenv -q smbios.planar.product )
299 if [ $retval -eq $DIALOG_OK ]; then
312 if [ $retval -eq $DIALOG_OK ]; then
319 "Hewlett-Packard")
325 if [ $retval -eq $DIALOG_OK ]; then
343 if [ $retval -eq $DIALOG_OK ]; then
356 if [ $retval -eq $DIALOG_OK ]; then
370 " # END-QUOTE
372 CURARCH=$( uname -m )
378 " # END-QUOTE
385 PARTMODE=`echo $PMODES | xargs -o bsddialog --backtitle "$OSNAME Installer" \
386 --title "Partitioning" \
387 --item-help \
388 --menu "How would you like to partition your disk?" \
390 exec 5>&-
403 …ab file for the new system at $PATH_FSTAB. Then type 'exit'. You can also enter the partition edit…
420 [ -f /usr/libexec/bsdinstall/local.pre-fetch ] && f_dprintf "Running local.pre-fetch" && sh /usr/li…
425 if [ -n "$FETCH_DISTRIBUTIONS" ]; then
429 exec 5>&-
431 [ $FETCH_RESULT -ne 0 ] && error "Could not fetch remote distributions"
440 [ -f /usr/libexec/bsdinstall/local.pre-configure ] && f_dprintf "Running local.pre-configure" && sh…
446 bsdinstall netconfig # Don't check for errors -- the user may cancel
448 [ -z "$BSDINSTALL_SKIP_TIME" ] && bsdinstall time
449 [ -z "$BSDINSTALL_SKIP_SERVICES" ] && bsdinstall services
450 [ -z "$BSDINSTALL_SKIP_HARDENING" ] && bsdinstall hardening
451 [ -z "$BSDINSTALL_SKIP_FIRMWARE" ] && bsdinstall firmware
453 [ -z "$BSDINSTALL_SKIP_USERS" ] && bsddialog --backtitle "$OSNAME Installer" \
454 --title "Add User Accounts" --yesno \
459 [ -z "$BSDINSTALL_SKIP_FINALCONFIG" ] && bsdinstall finalconfig
464 if [ ! -z "$BSDINSTALL_FETCHDEST" ]; then
465 rm -rf "$BSDINSTALL_FETCHDEST"
468 [ -f /usr/libexec/bsdinstall/local.post-configure ] && f_dprintf "Running local.post-configure" && …
470 if [ -z "$BSDINSTALL_SKIP_MANUAL" ]; then
471 bsddialog --backtitle "$OSNAME Installer" --title "Manual Configuration" \
472 --default-no --yesno \
474 if [ $? -eq 0 ]; then
478 chroot "$BSDINSTALL_CHROOT" /bin/sh -l 2>&1