diff options
Diffstat (limited to 'duo_openvpn.py')
-rwxr-xr-x | duo_openvpn.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/duo_openvpn.py b/duo_openvpn.py index e1da97a..97f1d09 100755 --- a/duo_openvpn.py +++ b/duo_openvpn.py @@ -1,4 +1,8 @@ -#!/usr/bin/env python +#!/bin/sh +''''which python3 >/dev/null 2>&1 && exec python3 "$0" "$@" # ''' +''''which python >/dev/null 2>&1 && exec python "$0" "$@" # ''' +''''which python2 >/dev/null 2>&1 && exec python2 "$0" "$@" # ''' +''''exec echo "Error: No python module found in system"# ''' # # duo_openvpn.py # Duo OpenVPN |