url-lib: extend to enable TFTP support

Libcurl has wider capabilities than those assigned to it by Dracut.
In this patch to url-lib I've added registration for TFTP URLs,
which I've found to be useful.

Enjoy,
Stig Telfer
master
Stig Telfer 2013-12-16 15:17:47 +00:00 committed by Harald Hoyer
parent 41351164f8
commit 1f28dfb2e4
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ curl_fetch_url() {
fi
if [ -z "$2" ]; then echo "$outloc" ; fi
}
add_url_handler curl_fetch_url http https ftp
add_url_handler curl_fetch_url http https ftp tftp

set_http_header() {
echo "header = \"$1: $2\"" >> $CURL_HOME/.curlrc