xref: /netbsd-src/external/bsd/ppp/dist/sample/auth-up (revision fa6d9a53072feb7f37eba19369d451c74fda3fca)
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#
12PATH=/usr/sbin:/sbin:/usr/bin:/bin
13export PATH
14
15echo auth-up `date +'%y/%m/%d %T'` $* >> /var/log/pppstats
16
17# last line
18