- more docu
authorheiko
Thu, 13 Nov 2008 22:40:16 +0000
changeset 9 b8eabdc8e452
parent 8 9f1f562a69a1
child 10 13b84a92a65a
- more docu
sap-vpn.pl
--- a/sap-vpn.pl	Thu Nov 13 22:16:35 2008 +0000
+++ b/sap-vpn.pl	Thu Nov 13 22:40:16 2008 +0000
@@ -337,8 +337,8 @@
 
 =item B<-k>|B<--kill>
 
-This is not really an option. It kills the link. This functionality
-relies on finding the PID file of the PPPD in
+This is not really an option, it's an operation. It kills the link. This
+functionality relies on finding the PID file of the PPPD in
 F</var/run/ppp->I<linkname>F<.pid>.
 
 =item B<-l>|B<--linkname> I<linkname>
@@ -375,7 +375,9 @@
 Script to execute after establishing the IP link.  If we're running as
 SUID-root, this script is executed under the effective UID and GID of
 its owner, otherwise just with the permissions we have. (See the B<-d>
-option above!). (no default)
+option above!). Currently this script is only called on connection
+establishment, but I'm thinking about calling it on closing the
+connection too. (no default)
 
     #! /bin/bash
     # How to know the interface name and the local/remove
@@ -398,6 +400,15 @@
 
 =back
 
+=head1 CONFIGURATION
+
+There is almost nothing that could go into a config file. I suggest
+using an alias in your shell, if you really want to "configure"
+something.
+    
+    alias sap-vpn-up="sap-vpn -v -u c5092986 -s $HOME/.vpn-script -p"
+    alias sap-vpn-down="sap-vpn -k"
+
 =head1 VERSION and SOURCE
 
     $Id$