#!/bin/sh

DEVNAME="$1"
COMMAND="$2"

case $DEVNAME in
    mlan*)
        ## defaults set to disabled internal Marvell chip STA mode,
        ## because both linked-up interfaces of AP-mode/STA-mode.
        #/Net/net-mlan.sh $DEVNAME $COMMAND
        exit 0
    ;;
    
    uap*)
        /Net/net-uap.sh $DEVNAME $COMMAND
        exit 0
    ;;
    
    wlan*)
        /Net/net-wlan.sh $DEVNAME $COMMAND
        exit 0
    ;;
    
    eth*)
        /Net/net-usblan.sh $DEVNAME $COMMAND
        exit 0
    ;;
    
    *)
        exit 1
    ;;

esac
exit 0

# EOF #
