Added driver finder method (thanks to Guilles@stackoverflow).
This commit is contained in:
parent
4092d969f7
commit
21ae874efb
|
@ -17,3 +17,11 @@ function interface_list_wireless() {
|
|||
fi
|
||||
done
|
||||
}
|
||||
|
||||
function interface_driver() {
|
||||
InterfaceDriver=$(basename $(readlink /sys/class/net/$1/device/driver))
|
||||
}
|
||||
|
||||
function interface_chipset() {
|
||||
echo
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue