diff options
author | dteske <dteske@FreeBSD.org> | 2013-06-21 22:53:51 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-06-21 22:53:51 +0000 |
commit | ce72a9114223a3d5f0b3e98d691051efe58464e4 (patch) | |
tree | f5461207722c9eea23610300c8432363047dd829 /usr.sbin | |
parent | e3578808e0a9cede495b2fecd61b0922708fbd00 (diff) | |
download | FreeBSD-src-ce72a9114223a3d5f0b3e98d691051efe58464e4.zip FreeBSD-src-ce72a9114223a3d5f0b3e98d691051efe58464e4.tar.gz |
Style.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bsdconfig/share/media/httpproxy.subr | 2 | ||||
-rw-r--r-- | usr.sbin/bsdconfig/share/media/options.subr | 26 |
2 files changed, 10 insertions, 18 deletions
diff --git a/usr.sbin/bsdconfig/share/media/httpproxy.subr b/usr.sbin/bsdconfig/share/media/httpproxy.subr index a29bfef..828cfb6 100644 --- a/usr.sbin/bsdconfig/share/media/httpproxy.subr +++ b/usr.sbin/bsdconfig/share/media/httpproxy.subr @@ -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 diff --git a/usr.sbin/bsdconfig/share/media/options.subr b/usr.sbin/bsdconfig/share/media/options.subr index 48c4a36..c9dc102 100644 --- a/usr.sbin/bsdconfig/share/media/options.subr +++ b/usr.sbin/bsdconfig/share/media/options.subr @@ -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 |