I need a script that in the absence of traffic or alternatively after 30 minutes disable the ppp connection.
I tried:
PPP - Profiles - 'my_profile' - script - On UP
Code: Select all
{
: delay 1800;
/ppp secret disable $user;
/ppp active remove name=$user;
}
I thank you all
Greetings
Marcello