Re: How to notify application?

dhinds <[email protected]> Wed, 13 Nov 2002 08:14:26 -0800
Newsgroups gmane.linux.pcmcia.devel
Message-ID <[email protected]>
On Wed, Nov 13, 2002 at 11:10:12AM +0100, Steven Scholz wrote:
> 
> So I could send a signal from within the scripts to my application!?
> Maybe using " kill -s SIGUSR1 `pidof myapp` " in the start/stop
> section of the ide script...

Yes you could do that.

> So my app gets the signal everytime "ide start" or "ide stop" gets called...
> 
> Is it ok to assume that "cardctl eject" will have the same effect as an card
> removal interrupt? 

Yes, it generates the same eject event as an actual physical eject.

-- Dave



-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html