I need a help.
I need a script that counts connected users on a specified interface and if it is zero than do an action (disable and enable the interface).
Not so difficult, but I'm close to give it up.
During my fight to make it I ask you to help.
If anyone have time, ability, please help.