case $1 in start) cardmgr cardctl status 0 cardctl status 1 ;; stop) killall cardmgr rmmod ds rmmod yenta_socket rmmod pcmcia_core ;; esac