sh : URGENT synchronisation insmod in script

Hello,
By now in linux 2.4, I have a sh script wich start 2 modules as follow :

/sbin/insmod module1.o
/sbin/insmod module2.o

I added an application in user space named "user_app" which communicate with module1 with a /proc.

I now tape the commands myself during code execution on a shell console :
>>/sbin/insmod module1.o &
>>./user_app
then when module1 insmod IS COMPLETED I do :
>>/sbin/insmod module2.o

I now would like to wright this in the start sh script , how should I wright this (background user_app launch and "wait for the end of module1 insmod ") ?

Many thanks for your help,

Celine

Just add both modules to /etc/modprobe.conf. Or you could add the stuff to /etc/inittab if you want it to wait to do anything before it continues for ex:

l2:2345:wait:/etc/rc.d/rc.multi