Comment 3 for bug 185179

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Just for the record and anyone interested, this was added to the postinst in the above package:

# Initialize cards that already have modules loaded:
# replay udev rules for all prism2 interfaces

WLAN_UDEV=1

. /etc/wlan/shared

for i in /sys/class/net/* ; do
    if ls -l $i/device/driver 2>/dev/null | grep -q /prism2_ ; then
        echo Trying to kick off device ${i#/sys/class/net/}
        /etc/wlan/wlan-udev.sh ${i#/sys/class/net/}
    fi
done