Could some help me to find out what I am doing wrong on this code?
/ppp secret set [find name=hermeson] disabled=yes
I tried:
Code: Select all
$API->write('/ppp/secret/set '.$user.' =disabled=yes');
Code: Select all
$API->write('/ppp/secret/set',false);
$API->write($user,false);
$API->write('=disabled=yes');
Code: Select all
$API->write('/ppp/secret/set',false);
$API->write('='.$user,false);
$API->write('=disabled=yes');
3 days non-sleeping looking for a code... damn!!!
cheers!!