diff options
Diffstat (limited to 'client/shared')
-rwxr-xr-x | client/shared/etc/init/default.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/shared/etc/init/default.sh b/client/shared/etc/init/default.sh index 9022c374..ed5527b9 100755 --- a/client/shared/etc/init/default.sh +++ b/client/shared/etc/init/default.sh @@ -20,6 +20,8 @@ echo "${MSG_LAUNCHCLIENT:-.}" if [ "$ogstatus" != "offline" ]; then GROUP_CONFIG=/opt/opengnsys/ogClient/cfg/${group/ /_}.json + PYMAJMIN=`python3 --version | cut -d" " -f2 | cut -d. -f1,2` + export PYTHONPATH=/opt/opengnsys/lib/python$PYMAJMIN if [ -f $GROUP_CONFIG ]; then /opt/opengnsys/ogClient/./ogclient -c $GROUP_CONFIG else |