QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Performing multiple commands from the PcmciaLaunch utility |
Ref. No. |
QNX.000006140 |
Category(ies) |
Utilities, PCMCIA, Filesystem |
Issue |
When we insert a PCMCIA card, we want PcmciaLaunch to run many commands, not just one. How do we go about setting this up?
|
Solution |
Create an executable in C that calls a shell script and call this executable from PcmciaLaunch. An example of some things in the script for un-mounting a pcmcia hard-drive would be:
unmount /hd rm /dev/ata0 slay...
|
|