B
B
beatlejute2011-07-21 07:05:48
bash
beatlejute, 2011-07-21 07:05:48

Executing sh file from network while booting ubuntu?

Good afternoon, good people
Tell me how to execute a bash file from the network when downloading?
Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
VBart, 2011-07-21
@VBart

You can also extract with curl and run.

V
Vlad Zhivotnev, 2011-07-21
@inkvizitor68sl

wget blablabla | bash
If the file is available via http/ftp

P
phikus, 2011-07-21
@phikus

in /etc/rc.d/rc.local add something like the following
mount -t nfs remotedir localdir
localdir/script.sh

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question