Ifconfig command will work without doing uci commit, and they have different implementation with same effect to the system.
I can do ‘ifconfig wg0 mtu 1360’ but I don’t want to do it everytime the router reboots. Since putting that line into startup script don’t work, I asked what is the uci set command to change the wireguard mtu so that I could add it into startup script.