From: Sergey Matveev Date: Mon, 7 Mar 2016 11:39:18 +0000 (+0300) Subject: Pass parameters to scripts through environment variables X-Git-Tag: 5.7^2~4 X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=commitdiff_plain;h=f696080a3e32ba340cc4c5c70e39eb8e8857da89 Pass parameters to scripts through environment variables --- diff --git a/VERSION b/VERSION index 2df33d7..760606e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.6 +5.7 diff --git a/doc/client.texi b/doc/client.texi index 5b0ae2b..b6d8aab 100644 --- a/doc/client.texi +++ b/doc/client.texi @@ -51,8 +51,9 @@ Set @ref{CPR} in KiB/sec. Enable @ref{Encless, encryptionless mode}. @item -up -Optional path to script that will be executed after connection is -established. Interface name will be given to it as a first argument. +Optional path to @ref{Scripts, script} that will be executed after +connection is established. Interface name will be given to it as a first +argument. @item -down Same as @option{-up} above, but it is executed when connection is lost, @@ -66,8 +67,8 @@ solicitation: @verbatim client% cat > up.sh <