On Thu, Feb 11, 2010 at 12:13 PM, Georghy fusco@wanagain.net wrote:
I everyone, I want to know how can I launch many script with reboot beetween each script ie : I launch script1 at start up then the system reboot and launch script2 then ... Thanks for all your answers
-- Cordialement, / Greetings, Georghy FUSCO
Simple :)
1. Add a line to /etc/rc.local - for exmaple "sh /root/myscript" 2. /root/myscript's contents could look like this: sh /root/runfirst 3. Now, you have say /root/script1, /root/script2, /root/script3, etc. At the end of each script do this:
rm -rf /root/script1 echo /root/script2 > /root/runfirst