]> git.ozlabs.org Git - ppp.git/blob - sample/auth-up
pppd: Fix SIGSEGV in EAP-TLS code when TLS verify method is not specified
[ppp.git] / sample / auth-up
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