The problem with that script is that the reader doesn't appear in the output of lspci until *after* a rescan with a card inserted. So you could switch that around to rescan every few seconds and then quit after the reader appears in the lspci output, but as is, I don't think that will work.
The problem with that script is that the reader doesn't appear in the output of lspci until *after* a rescan with a card inserted. So you could switch that around to rescan every few seconds and then quit after the reader appears in the lspci output, but as is, I don't think that will work.