summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/media/any.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/any.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/any.subr')
-rw-r--r--usr.sbin/bsdconfig/share/media/any.subr11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/bsdconfig/share/media/any.subr b/usr.sbin/bsdconfig/share/media/any.subr
index aa290db..047bf15 100644
--- a/usr.sbin/bsdconfig/share/media/any.subr
+++ b/usr.sbin/bsdconfig/share/media/any.subr
@@ -37,6 +37,7 @@ f_include $BSDCFG_SHARE/media/directory.subr
f_include $BSDCFG_SHARE/media/dos.subr
f_include $BSDCFG_SHARE/media/floppy.subr
f_include $BSDCFG_SHARE/media/ftp.subr
+f_include $BSDCFG_SHARE/media/http.subr
f_include $BSDCFG_SHARE/media/httpproxy.subr
f_include $BSDCFG_SHARE/media/nfs.subr
f_include $BSDCFG_SHARE/media/options.subr
@@ -71,9 +72,9 @@ f_media_get_type()
local menu_list="
'1 $msg_cd_dvd' '$msg_install_from_a_freebsd_cd_dvd'
'2 $msg_ftp' '$msg_install_from_an_ftp_server'
- '3 $msg_ftp_passive'
- '$msg_install_from_an_ftp_server_thru_firewall'
- '4 $msg_http' '$msg_install_from_an_ftp_server_thru_proxy'
+ '3 $msg_http_proxy'
+ '$msg_install_from_an_ftp_server_thru_proxy'
+ '4 $msg_http_direct' '$msg_install_from_an_http_server'
'5 $msg_directory' '$msg_install_from_the_existing_filesystem'
'6 $msg_nfs' '$msg_install_over_nfs'
'7 $msg_dos' '$msg_install_from_a_dos_partition'
@@ -123,8 +124,8 @@ f_media_get_type()
case "$mtag" in
?" $msg_cd_dvd") f_media_set_cdrom ;;
?" $msg_ftp") f_media_set_ftp ;;
- ?" $msg_ftp_passive") f_media_set_ftp_passive ;;
- ?" $msg_http") f_media_set_http_proxy ;;
+ ?" $msg_http_proxy") f_media_set_http_proxy ;;
+ ?" $msg_http_direct") f_media_set_http ;;
?" $msg_directory") f_media_set_directory ;;
?" $msg_dos") f_media_set_dos ;;
?" $msg_nfs") f_media_set_nfs ;;
OpenPOWER on IntegriCloud