Created
May 18, 2018 16:47
-
-
Save mikesavtechnology/4e406918a8fab6fcaff943eb582425ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ -z "$OPENVPN_AS_NOEXPORT" ]; then | |
export PYOVPN_VERSION="2.1.6" | |
export OPENVPN_AS_BASE="/usr/local/openvpn_as" | |
export OPENVPN_AS_CONFIG="/usr/local/openvpn_as/etc/as.conf" | |
export PATH="/usr/local/openvpn_as/scripts:/usr/local/openvpn_as/bin:/usr/local/openvpn_as/sbin:$PATH" | |
export LD_LIBRARY_PATH="/usr/local/openvpn_as/lib" | |
export PYTHONHOME="/usr/local/openvpn_as" | |
fi | |
export PYOVPN_CMDNAME="sacli" | |
python -c "from pyovpn.sagent.sagent_entry import sacli ; sacli()" "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment