summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/ppp/sample/auth-down
blob: edde65db16ec042ab3a4c9f10d2de94581779ca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# A program or script which is executed after the remote system
# successfully authenticates itself. It is executed with the parameters
# <interface-name> <peer-name> <user-name> <tty-device> <speed>
#

#
# The environment is cleared before executing this script
# so the path must be reset
#
PATH=/usr/sbin:/sbin:/usr/bin:/bin
export PATH

echo auth-down `date +'%y/%m/%d %T'` $* >> /var/log/pppstats

# last line