Added driver finder method (thanks to Guilles@stackoverflow).

This commit is contained in:
Matias Barcenas 2017-08-17 18:01:17 -05:00
parent 4092d969f7
commit 21ae874efb
1 changed files with 8 additions and 0 deletions

View File

@ -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
}