|
|
|
Your da man Erich, thanks. With the given info i was able to look at the tech needed to build some pretty simplistic scripts. here is the ones i am using: (client-disconnect) #!/bin/bash echo Sent=${bytes_sent} $'\n'Received=${bytes_received} $'\n'Duration=${time_duration} >> /etc/openvpn/scripts/${common_name} (client-connect) #!/bin/bash touch /etc/openvpn/scripts/${common_name} chmod 777 /etc/openvpn/scripts/${common_name} echo Connected=${time_ascii} >> /etc/openvpn/scripts/${common_name} Ill get better scripts as i finish reading the shell scripting book i downloaded ;) If anyone happens to know why ${time_ascii} and ${time_duration} are not echoing to the file, let me know...not needed, but useful Thanks again Erich On 4/9/07, Erich Titl <erich.titl@xxxxxxxx> wrote: Hi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users |