Root/package/madwifi/files/etc/hotplug.d/net/10-madwifi

1if [ "$ACTION" = "add" -o "$ACTION" = "register" ]; then
2    case "$INTERFACE" in
3        ath*.sta*)
4            local BASEIF="${INTERFACE%%\.*}"
5
6            include /lib/network
7            scan_interfaces
8            local CONFIG="$(find_config "$BASEIF")"
9            [ -n "$CONFIG" ] && setup_interface "$INTERFACE" "$CONFIG"
10        ;;
11    esac
12fi
13

Archive Download this file



interactive