X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=sample%2Fauth-up;fp=sample%2Fauth-up;h=54722a3c015704207be1b8ba469fc044a675b9dd;hb=d96e4f148f54dc9903afe53cb69d3f5468c0a9b0;hp=0000000000000000000000000000000000000000;hpb=c6869931feed37330a96715fecc0c2c75f3f5dc0;p=ppp.git 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 +# +# + +# +# 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