| # Copyright 2012 Luis R. Rodriguez <mcgrof@frijolero.org> |
| # Makes sure either alx (new) or atl1c (old) |
| # 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 [ $ALX_NEW | $ALX_OLD ]" |
| # Default behavior: disables the old atl1c driver and enables alx |
| if [ "$MODULE" == "atl1c" ]; then |
| elif [ "$MODULE" == "alx" ]; then |