#!/bin/sh # Build pcmcia.tgz. cat << EOF Before building this, get a non-APM kernel running, and a non-APM kernel tree in /usr/src/linux, otherwise the binaries will *require* APM, and everyone will complain. EOF sleep 15 CWD=`pwd` cd /tmp tar xzvf $CWD/pcmcia-cs-3.1.16.tar.gz cd pcmcia-cs-3.1.16 mkdir -p /usr/doc/pcmcia-cs-3.1.16 cp -a BUGS CHANGES COPYING LICENSE MAINTAINERS doc/PCMCIA-HOWTO \ doc/PCMCIA-PROG README SUPPORTED.CARDS /usr/doc/pcmcia-cs-3.1.16 chown -R root.root /usr/doc/pcmcia-cs-3.1.16 chmod 644 /usr/doc/pcmcia-cs-3.1.16/* make clean ./Configure < $CWD/config.replies make all make install # This version of rc.pcmcia has been modified for use with Slackware. # It also polls the card slots rather than wasting an IRQ for that. zcat $CWD/rc.pcmcia.gz > /etc/rc.d/rc.pcmcia # Patch the config.opts for the correct WebGear wireless defaults: ( cd /etc/pcmcia ; zcat $CWD/config.opts.diff.gz | patch -p0 )