Lines 24-30
findWifiIfsByDriver () {
Link Here
|
24 |
# the driver. |
24 |
# the driver. |
25 |
LINK_TARGET=`readlink $DEVICE/device/driver` |
25 |
LINK_TARGET=`readlink $DEVICE/device/driver` |
26 |
LINK_TARGET=${LINK_TARGET##*/} |
26 |
LINK_TARGET=${LINK_TARGET##*/} |
27 |
ENABLED=`cat $DEVICE/device/enable` |
27 |
ENABLED=`cat $DEVICE/device/enabled` |
28 |
|
28 |
|
29 |
if [ $ENABLED -eq 1 -a "$LINK_TARGET" = "$1" ] ; then |
29 |
if [ $ENABLED -eq 1 -a "$LINK_TARGET" = "$1" ] ; then |
30 |
# add the interface name to the list |
30 |
# add the interface name to the list |
31 |
- |
|
|