How to automatically enable Ethernet tethering on Android 11?


Developer options has a setting for enabling USB tethering on USB cable plug.
Is there anything similar for Ethernet tethering (introduced in Android 11)?
Each time router reboots tethering breaks and i’m trying to make it recovering automatically.