Firmware 4.3.6 removes features!

Ok I was able to get it working based on this post I found a command that turns off and off leds. GL-MT1300 LED control instructions

So just to document for anyone who is interested. on your MT1300 if you want to configure your switch to be able to toggle wifi do:

  1. Create file called buttons in /etc/hotplug.d/button directory. (youmost likely have to create button directory I didn't have it.
  2. Create a file called buttons in that directory above
  3. paste the code below this code turns on and off 2g radio and keeps 5G always off (I kept it off since my internet connection is never faster then 2g and 5G is shoter range and not as reliable so no need to have it on)
#!/bin/sh


if [ "${BUTTON}" = "switch" ] && [ "${ACTION}" = "pressed" ]; then
        logger "BTN: Wifi Enabled"

        # disable 5g radio 2g guest and 5 g gues interfaces
        uci set wireless.@wifi-device[1].disabled=1
        uci set wireless.@wifi-device[1].disabled=1
        uci set wireless.@wifi-device[2].disabled=1
        uci set wireless.@wifi-device[3].disabled=1

        # enble 2g radio and 2g interface
        uci set wireless.@wifi-device[0].disabled=0
        uci set wireless.@wifi-iface[0].disabled=0

        i2cset -f -y 0 0x30 0x04 0x04 # Turn on the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x00 # Turn off the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x04 # Turn on the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x00 # Turn off the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x04 # Turn on the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x00 # Turn off the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x04 # Turn on the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x00 # Turn off the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x04 # Turn on the light
        sleep 0.1
        i2cset -f -y 0 0x30 0x04 0x00 # Turn off the light



elif [ "${BUTTON}" = "switch" ] && [ "${ACTION}" = "released" ]; then
        logger "BTN: Wifi Disabled"

        # disable 5g radio 2g guest and 5 g gues interfaces
        uci set wireless.@wifi-device[1].disabled=1
        uci set wireless.@wifi-device[1].disabled=1
        uci set wireless.@wifi-device[2].disabled=1
        uci set wireless.@wifi-device[3].disabled=1

        # disable 2g radio and 2g interface
        uci set wireless.@wifi-device[0].disabled=1
        uci set wireless.@wifi-iface[0].disabled=1

        i2cset -f -y 0 0x30 0x04 0x04 # Turn on the light
        sleep 1
        i2cset -f -y 0 0x30 0x04 0x00 # Turn off the light
    	sleep 1
        i2cset -f -y 0 0x30 0x04 0x04 # Turn on the light
        sleep 1
        i2cset -f -y 0 0x30 0x04 0x00 # Turn off the light


fi

uci commit wireless
wifi reload
wifi