Lines 71-77
if [ x$CONTROL_IPW_POWER = x1 ] || [ x$ENABLE_AUTO_MODULES = x1 -a x$CONTROL_IPW
Link Here
|
71 |
# the driver. |
71 |
# the driver. |
72 |
LINK_TARGET=`readlink $DEVICE/device/driver` |
72 |
LINK_TARGET=`readlink $DEVICE/device/driver` |
73 |
LINK_TARGET=${LINK_TARGET##*/} |
73 |
LINK_TARGET=${LINK_TARGET##*/} |
74 |
ENABLED=`cat $DEVICE/device/enable` |
74 |
ENABLED=`[ -r $DEVICE/device/enabled ] && cat $DEVICE/device/enabled || cat $DEVICE/device/enable` |
75 |
|
75 |
|
76 |
if [ $ENABLED -eq 1 -a "$LINK_TARGET" = "$1" ]; then |
76 |
if [ $ENABLED -eq 1 -a "$LINK_TARGET" = "$1" ]; then |
77 |
# add the interface name to the list |
77 |
# add the interface name to the list |