View Single Post
Posts: 28 | Thanked: 14 times | Joined on Sep 2010
#471
Originally Posted by FRuMMaGe View Post
Do you mean the enable/disable buttons?

If so, it's because I haven't yet found a way to find out if the drivers are already loaded or not, so both the enable and disable buttons are always active.

.
Well, I can't check it cause I dont have fas installed, but I think
lsmod | grep -c wl1251_spi
would return 1 if drivers loaded and 0 if not
(there are more modules involved, but this command checks for one as a shortcut since load.sh loads all needed modules)

Hope this helps
 

The Following 3 Users Say Thank You to littlebadger For This Useful Post: