compat-wireless: replace modprobe -l with functional equivilent
authorRick Farina <sidhayn@gmail.com>
Sat, 25 Feb 2012 02:28:40 +0000 (21:28 -0500)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Sat, 25 Feb 2012 02:36:57 +0000 (18:36 -0800)
commit802ea47e6316aea285f2c30d95763dd7c320eec1
tree536ee12d6fa9a9b820956d30c44f99c81fb110e1
parent66e398ef856152df342bec8e61ac8962f356b146
compat-wireless: replace modprobe -l with functional equivilent

modprobe -l is either deprecated or removed, so let's replace it
testing [ -z "$(DESTDIR)" ] appeared to only be need due to the fact
that *enable was run directly instead of being run with $(DESTDIR)/

Testing for module presence should now work properly on modern distros
and *enable will be run properly with or without $(DESTDIR) being set.

Signed-off-by: Rick Farina <sidhayn@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
Makefile