| # Copyright 2007 Luis R. Rodriguez <mcgrof@winlab.rutgers.edu> |
| # Makes sure either b43, b43legacy (new mac80211 drivers) or bcm43xx |
| # is enabled to be used. This allows us to choose any driver without |
| # blacklisting each other. |
| . /usr/lib/compat-wireless/modlib.sh |
| if [[ $UID -ne 0 ]]; then |
| echo "Run with root privileges" |
| # Appended to module file at the end when we want to ignore one |
| USAGE="Usage: $0 [ b43 | bcm43xx | wl ]" |
| # Default behavior: disables the old bcm43xx driver and enables b43 |
| if [ "$MODULE" == "bcm43xx" ]; then |
| elif [ "$MODULE" == "wl" ]; then |
| elif [ "$MODULE" == "b43" ]; then |