Hello everybody!
Sorry for not perfect English.
Need help, I try to execute this script in /etc/ppp/auth-up:
It this file, $1 is interface name like ppp0, ppp1 etc
$2 is peer name (defined in /ppp/chap-secrets)
#Script start
!#/bin/sh
if [ "$2" == "someusername" ]; then
echo...