# Created by Tobias Powalowski <tpowa@archlinux.org>

install ()
{
    MODULES=" $(checked_modules "/pcmcia/" | grep -ve "sound" -e "net") $(checked_modules "/ide/legacy")"
    MODULES=$(echo ${MODULES}) #trim whitespace
    BINARIES="lspcmcia pccardctl"
    FILES=""
    SCRIPT=""
    add_binary "/lib/udev/pcmcia-socket-startup"
    add_binary "/lib/udev/pcmcia-check-broken-cis"
    add_file "/etc/pcmcia/config.opts"
    add_file "/lib/udev/rules.d/60-pcmcia.rules"
}

help ()
{
cat<<HELPEOF
  This hook includes the pcmcia on an arch boot image.
HELPEOF
}
