Original question:
Dear SMs,
How can I delay the boot of a Solaris 2.5x box between startup
scripts?
We've got a script that starts up Sybase and our databases
(S98sybstart) followed by another script (S99sybread) that reads of
the databases.
S98sybstart takes a while to finish and thus S99sybread falls over.
Maybe a script that does a delay that runs in the foreground? It
looks like all the scripts that gets kicked of run in the background.
S98sybstart
S99delay ?
S99sybread
Thanks
Answer:
There are basically three ways of doing this:
* Insert a sleep between (end of first, seperate S* script, or
beginning of second script) the two scripts
* Append the second script to the first
* Wrap the second script in a while test-condition to start it.
Thanks to *
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:44 CDT