Aha, you found another hook to place this in. Good work!
(pcmcia cards is found under /sys/bus/pcmcia/* I think. You could also try /sys/class/net or something like this. Don't have pcmcia on this computer)
If you want to have your system run "ifup wlan0" automaticli when you insert the card, you still should be look into hotplug.
/etc/network/interfaces specifies attributes about your LAN access and LAN cards. It has nothing to do with adding and removing cards. That is hotplugs job.
You could have a look at /etc/hotplug/net.ifup or /etc/hotplug/net.agent
See /usr/share/doc/hotplug/README.Debian
There could be another place for this,
Maybe, maybe /etc/hotplug.d/net is where you want to place a script.
(reading man page)
Hmm, I guess that /etc/hotplug/pcmcia.agent is used for pcmcia-cards found by kernel and hotplug. Does hotplug supports pcmcia-cards? What kernel subsystem does handle pcmcia-cards?
Hmm:
USB, ISAPNP, NET and PCI (for CardBus) is suported. They are working on SCSI. Not PCMCIA?
Maybe some other way then.
(Hmmm, I might be barking up the wrong tree. Should have checked this a litle bit more befor this post. Look if you can get any information from this
)
Good luck!