summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/media/options.subr
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-06-23 10:48:26 +0000
committerdteske <dteske@FreeBSD.org>2013-06-23 10:48:26 +0000
commitf6abdf341e4dca12a6466ea1023398cb1a7c9f47 (patch)
treefd70cb8d92062a19aa0eaa2ae4872209ec1b7279 /usr.sbin/bsdconfig/share/media/options.subr
parent0af114bd22d3e848242f61b97b1be058e191e691 (diff)
downloadFreeBSD-src-f6abdf341e4dca12a6466ea1023398cb1a7c9f47.zip
FreeBSD-src-f6abdf341e4dca12a6466ea1023398cb1a7c9f47.tar.gz
Merge r248313 from stable/9 sysinstall(8) to head bsdconfig(8):
Add support for installation directly via HTTP. While we're here, remove the menu-item for Passive FTP (since moving to ftp(1) and switching FTPMODE to `auto' by default -- see r251613 -- the single remaining FTP menu-item works for both ftp.f.o and ftp-archive.f.o; previously each requiring separately active versus passive both work with the `auto' setting). In scripting you still have mediaSetFTPActive and mediaSetFTPPassive but the remaining FTP menu-item uses mediaSetFTP which defaults to `auto' (aforementioned SVN r251613).
Diffstat (limited to 'usr.sbin/bsdconfig/share/media/options.subr')
-rw-r--r--usr.sbin/bsdconfig/share/media/options.subr17
1 files changed, 9 insertions, 8 deletions
diff --git a/usr.sbin/bsdconfig/share/media/options.subr b/usr.sbin/bsdconfig/share/media/options.subr
index 7eeb40b..3ad3c07 100644
--- a/usr.sbin/bsdconfig/share/media/options.subr
+++ b/usr.sbin/bsdconfig/share/media/options.subr
@@ -158,14 +158,15 @@ f_media_options_menu()
case "$cp" in
$DEVICE_TYPE_UFS|$DEVICE_TYPE_DISK)
cp="$msg_file_system" ;;
- $DEVICE_TYPE_DIRECTORY) cp="$msg_directory" ;;
- $DEVICE_TYPE_FLOPPY) cp="$msg_floppy" ;;
- $DEVICE_TYPE_FTP) cp="$msg_ftp" ;;
- $DEVICE_TYPE_HTTP_PROXY) cp="$msg_http_proxy" ;;
- $DEVICE_TYPE_CDROM) cp="$msg_cdrom" ;;
- $DEVICE_TYPE_USB) cp="$msg_usb" ;;
- $DEVICE_TYPE_DOS) cp="$msg_dos" ;;
- $DEVICE_TYPE_NFS) cp="$msg_nfs" ;;
+ $DEVICE_TYPE_DIRECTORY) cp="$msg_directory" ;;
+ $DEVICE_TYPE_FLOPPY) cp="$msg_floppy" ;;
+ $DEVICE_TYPE_FTP) cp="$msg_ftp" ;;
+ $DEVICE_TYPE_HTTP_PROXY) cp="$msg_http_proxy" ;;
+ $DEVICE_TYPE_HTTP) cp="$msg_http_direct" ;;
+ $DEVICE_TYPE_CDROM) cp="$msg_cdrom" ;;
+ $DEVICE_TYPE_USB) cp="$msg_usb" ;;
+ $DEVICE_TYPE_DOS) cp="$msg_dos" ;;
+ $DEVICE_TYPE_NFS) cp="$msg_nfs" ;;
*)
cp="<$msg_unknown>"
esac
OpenPOWER on IntegriCloud