On 12/16/2013 04:17 PM, Stig Telfer wrote:
> 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
> 
> 
> diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh
> index 12df9b4..c9d143a 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

Thanks! Pushed.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to