1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
This commit is contained in:
Devin Teske 2013-06-21 22:53:51 +00:00
parent 5b3821c01c
commit 66badff968
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252076
2 changed files with 10 additions and 18 deletions

View File

@ -133,7 +133,7 @@ f_media_set_http_proxy()
#
f_http_proxy_check_access()
{
local connect_only="$1" hosts=""
local connect_only="$1" hosts=
local proxy_host proxy_port
f_getvar $VAR_HTTP_PROXY_HOST proxy_host

View File

@ -157,23 +157,15 @@ f_media_options_menu()
device_media get type cp
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";;
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" ;;
*)
cp="<$msg_unknown>"
esac