1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Make the default choice for FTP media access use "auto".

This commit is contained in:
Devin Teske 2013-06-11 03:37:29 +00:00
parent abe38ac774
commit f184cec5a9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251613
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ f_media_get_type()
case "$mtag" in
?" $msg_cd_dvd") f_media_set_cdrom ;;
?" $msg_ftp") f_media_set_ftp_active ;;
?" $msg_ftp") f_media_set_ftp ;;
?" $msg_ftp_passive") f_media_set_ftp_passive ;;
?" $msg_http") f_media_set_http_proxy ;;
?" $msg_directory") f_media_set_directory ;;

View File

@ -110,7 +110,7 @@ f_variable_set_defaults()
# Initialize various user-edittable values to their defaults
#
setvar $VAR_EDITOR "${EDITOR:-/usr/bin/ee}"
setvar $VAR_FTP_STATE "passive"
setvar $VAR_FTP_STATE "auto"
setvar $VAR_FTP_USER "ftp"
setvar $VAR_HOSTNAME "$( hostname )"
setvar $VAR_MEDIA_TIMEOUT "300"