Re: Launch many scripts with reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Georghy <fusco@xxxxxxxxxxxx>
> 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 ...

Simple way would be to have a script that reads a file with a script on each line.
If the file is not empty, it would read the first line, execute the script corresponding to that line, remove that line from the file and reboot.
Rinse and repeat until the file is empty...

JD


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux