[CentOS] Launch many scripts with reboot

Kai Schaetzl maillists at conactive.com
Thu Feb 11 11:31:16 UTC 2010


Georghy wrote on Thu, 11 Feb 2010 11:13:10 +0100:

> 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 ...

Why would you want to do this?
One way would be to use a reboot counter, another to use lock files (run only 
the first script that hasn't run yet), yet another to enumerate the files and 
remove the first on each boot, yet another to have a file remove itself after 
run (may not work).

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com





More information about the CentOS mailing list