#!/bin/sh # # Script to install wavelan2_cs # if [ -r config.out ] ; then . ./config.out 2>/dev/null else echo "" echo "Error: Run 'make config' first!" echo "" exit 1 fi if [ $EUID != 0 ] ; then echo "Need to be root to install." exit 1 fi if [ "$CONFIG_PCMCIA" = "" ] ; then echo "This system uses standalone pcmcia-cs." make install else echo "This system uses in-kernel pcmcia-cs." make -f wavelan2_cs.mk install fi