Disable expired pppoe client

Hello,

I have several pppoe clients in my router when one of them expired is still connected but get expire IP (192.168.10.x) so a need to make a script to check the PPPoE clients and disable the one who gets expire IP.

Thnaks