<br><br><div class="gmail_quote">On Thu, Feb 11, 2010 at 12:13 PM, Georghy <span dir="ltr"><<a href="mailto:fusco@wanagain.net">fusco@wanagain.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

I everyone,<br>
I want to know how can I launch many script with reboot beetween each script<br>
ie : I launch script1 at start up then the system reboot and launch<br>
script2 then ...<br>
Thanks for all your answers<br>
<font color="#888888"><br>
--<br>
Cordialement, / Greetings,<br>
Georghy FUSCO<br>
<br>
_______________________________________________<br>
<br></font></blockquote><div>Simple :)<br><br>1. Add a line to /etc/rc.local - for exmaple "sh /root/myscript"<br>2. /root/myscript's contents could look like this: sh /root/runfirst<br>3. Now, you have say /root/script1, /root/script2, /root/script3, etc. At the end of each script do this:<br>

<br>rm -rf /root/script1<br>echo /root/script2 > /root/runfirst<br><br><br><br></div></div><br><br clear="all"><br>-- <br>Kind Regards<br>Rudi Ahlers<br>SoftDux<br><br>Website: <a href="http://www.SoftDux.com">http://www.SoftDux.com</a><br>

Technical Blog: <a href="http://Blog.SoftDux.com">http://Blog.SoftDux.com</a><br>Office: 087 805 9573<br>Cell: 082 554 7532<br>