The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-18-2005
Registered User
 

Join Date: Oct 2005
Posts: 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
Reply With Quote
Forum Sponsor
  #2  
Old 10-21-2005
Registered User
 

Join Date: Oct 2005
Posts: 22
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0