I'm attempting to use these to stop and start databases before and after a
backup. Inside each script I have this:

su - ctadmin "-c /sh/ctreesnap stop mnlarch"
su - ctadmin "-c /sh/ctreesnap start mnlarch"

and you can probably guess what this is doing.

The problem is that the bpstart script fires the above script off and
immediately comes back to the bpstart script. It therefore thinks the backup
is done and goes on to the bpend script. Any thoughts? Thanks.