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 Telfermaster
parent
41351164f8
commit
1f28dfb2e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue