Originally Posted by bilbod
The purpose of udev is to populate/depopulate /dev when hardware is plugged in/unplugged.
Sorry, I had the wrong impression that you disable the device in runtime like me (I have a wifi kill switch).
I still didn't understood the purpose. You randomly kill the wifi? You want a boot script?
If udev suggestion or ponce suggestion are not working I think
grep wlan /proc/net/wireless e.t.c.
is the manual/hardest/sky-is-the-limit way.