Script to enable DHCP client if sfp-vendor-name = MikroTik

I need a simple script to examine if a vendor’s SFP module is installed and enable the DHCP client.
Otherwise, a GPON ONU stick is installed and a fixed IP and route to be added.

RB5009