summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/device.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/device.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/device.subr')
-rw-r--r--usr.sbin/bsdconfig/share/device.subr1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdconfig/share/device.subr b/usr.sbin/bsdconfig/share/device.subr
index 28e3ee8..eb1af5a 100644
--- a/usr.sbin/bsdconfig/share/device.subr
+++ b/usr.sbin/bsdconfig/share/device.subr
@@ -73,6 +73,7 @@ setvar DEVICE_TYPE_UFS 9
setvar DEVICE_TYPE_NFS 10
setvar DEVICE_TYPE_ANY 11
setvar DEVICE_TYPE_HTTP_PROXY 12
+setvar DEVICE_TYPE_HTTP 13
#
# Default behavior is to call f_device_get_all() automatically when loaded.
OpenPOWER on IntegriCloud