#!/bin/sh
set -e

case "$1" in
remove|deconfigure)
    set +e
    test -x /etc/init.d/pcmcia && . /etc/init.d/pcmcia stop ;;
esac
