| 1 | #!/bin/sh |
| 2 | # |
| 3 | # A program or script which is executed after the remote system |
| 4 | # successfully authenticates itself. It is executed with the parameters |
| 5 | # <interface-name> <peer-name> <user-name> <tty-device> <speed> |
| 6 | # |
| 7 | |
| 8 | # |
| 9 | # The environment is cleared before executing this script |
| 10 | # so the path must be reset |
| 11 | # |
| 12 | PATH=/usr/sbin:/sbin:/usr/bin:/bin |
| 13 | export PATH |
| 14 | |
| 15 | echo auth-up `date +'%y/%m/%d %T'` $* >> /var/log/pppstats |
| 16 | |
| 17 | # last line |