Re: load add-on from net

From: Gerrit Lammert (lammert@gmx.de)
Date: Wed Jul 03 2002 - 22:06:40 CEST


Hi Michele.

Am 03.07.2002 um 14:22 schrieb Michele Andreoli:
>On Tue, Jul 02, 2002 at 11:14:25PM +0200, Gerrit Lammert wrote:
>> Hi,
>>
>> i can choose to load an addon from floppy or from file (on harddisk),
but
>> sometimes (beeing somewhere else) i only have the root+boot+usr floppy
>and
>> cant download the addons to disk. Would it be possible, to give an URL
>> where the addon can be loaded and installed from?
>> So instead of /anyDir/SRV.tgz it would be
>> http//remote.host.com/anyDir/SRV.tgz ??
>
>Yes.
>
> setup -f SRV from=/anyDir/SRV.tgz

That is the way it currently works.
But instead of an mounted dir, I want to directly use an web-URL.

no one :-) proposes:
--SNIP--
#!/bin/sh
# Takes one argument, URL of addon to load

wget $1 /tmp/addon.tgz
mu -i /tmp/addon.tgz
rm /tmp/addon.tgz
--SNIP--

But I guess the extracting itself (mu -i or setup or whatever) itself uses
the /tmp ramdisk and there might not be enough space to do so.
Another question is: Do we have wget on the root-floppy?

...gerrit

---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:22 CET