From 1f28dfb2e4b6b3821fb67d073c30ec6faa0e5e16 Mon Sep 17 00:00:00 2001 From: Stig Telfer Date: Mon, 16 Dec 2013 15:17:47 +0000 Subject: [PATCH] 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 --- modules.d/45url-lib/url-lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh index 12df9b4c8..c9d143a28 100755 --- a/modules.d/45url-lib/url-lib.sh +++ b/modules.d/45url-lib/url-lib.sh @@ -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 -- 2.47.3