wget now takes only a URL as a argument; not host + file

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1653 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-03-28 16:11:20 +00:00
parent 6cefcf80e2
commit 723f26b314
11 changed files with 22 additions and 44 deletions

View File

@ -377,14 +377,12 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -377,14 +377,12 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -377,14 +377,12 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -377,14 +377,12 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -717,14 +717,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -765,14 +765,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -773,14 +773,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -758,14 +758,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -758,14 +758,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -741,14 +741,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)

View File

@ -758,14 +758,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# Settings for examples/wget
# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file
# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/')
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC)
# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address
# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess
# CONFIG_EXAMPLE_WGET_NETMASK - Network mask
CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org"
CONFIG_EXAMPLE_WGET_FILENAME="/index.html"
CONFIG_EXAMPLE_WGET_URL="http://www.nuttx.org/index.html"
CONFIG_EXAMPLE_WGET_NOMAC=y
CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)