![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bookmark Sync and Sort: Bookmarks synchronisation with privacy | iBot | UNIX and Linux RSS News | 0 | 01-28-2008 02:50 AM |
| Much time in insmod of huge kernel module | ptprabu | High Level Programming | 0 | 11-28-2007 08:48 AM |
| [urgent need help] about script | bucci | Shell Programming and Scripting | 6 | 12-25-2006 10:21 PM |
| insmod: a module named e1000 already exists | admart | IP Networking | 0 | 12-30-2005 10:51 AM |
| shared memory synchronisation | student00 | UNIX for Advanced & Expert Users | 0 | 08-19-2004 03:36 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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 |
|||
| Google The UNIX and Linux Forums |