diff options
author | Jaroslav Škarvada <jskarvad@redhat.com> | 2021-01-08 03:52:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 13:52:41 +1100 |
commit | d96e4f148f54dc9903afe53cb69d3f5468c0a9b0 (patch) | |
tree | fb1a1582854920e4904f3910459bdcf7073bae60 /sample/auth-up | |
parent | c6869931feed37330a96715fecc0c2c75f3f5dc0 (diff) | |
download | ppp-d96e4f148f54dc9903afe53cb69d3f5468c0a9b0.tar.gz |
Add some configuration samples (#225)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Diffstat (limited to 'sample/auth-up')
-rw-r--r-- | sample/auth-up | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sample/auth-up b/sample/auth-up new file mode 100644 index 0000000..54722a3 --- /dev/null +++ b/sample/auth-up @@ -0,0 +1,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-up `date +'%y/%m/%d %T'` $* >> /var/log/pppstats + +# last line |