[Thinstation-developer] modify pkg to add wget and scp source
Brought to you by:
doncuppjr
From: Greg <ml...@re...> - 2012-07-01 00:19:54
|
Hello All, I've deploy some workstations that connect to the thinstation "master" over a NAT network. pkg only supports tftp source but tftp don't work over NAT. I think it could be interesting to re-use "transport" function presents into packages/base/etc/init.d/network_files So I migrate transport function from network_files to thinstation.functions to permit a usage with pkg. During the migration I've remark that wget don't follow $cpath unlike tftp and scp. So I've modify "wget -P /tmp" to "wget -O $cpath". This correction also allow to use transport for pkg. Please found a patch that remove transport from network_files and add it to thinstation.functions. It also modify pkg to use transport function. Best regards, Grégory |