blob: f3c18dd530637157f713866e206fad1c94d517f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- lib/proxy/tftp.rb.orig 2014-01-29 00:26:35.629061321 +0100
+++ lib/proxy/tftp.rb 2014-01-29 00:28:05.669054835 +0100
@@ -104,7 +104,7 @@
# as the dst might contain another sub directory
FileUtils.mkdir_p destination.parent
- cmd = "wget --timeout=10 --tries=3 --no-check-certificate -nv -c #{src} -O \"#{destination}\""
+ cmd = "/usr/bin/fetch --timeout=10 --no-verify-hostname --no-verify-peer -a -m -q -o \"#{destination}\" #{src}"
Proxy::Util::CommandTask.new(cmd)
end
end
|